Skip to content

Commit

Permalink
Merge pull request #38 from tijsverkoyen/37-kiosk-realtime-power-nt-u…
Browse files Browse the repository at this point in the history
…pdating

Trigger state write
  • Loading branch information
tijsverkoyen authored Jan 13, 2023
2 parents d1e4621 + 5181ff7 commit 9a4c2ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions custom_components/fusion_solar/fusion_solar/power_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def _handle_coordinator_update(self):
else:
self._state = float(self.coordinator.data[self._data_name][self._attribute])

self.async_write_ha_state()


class FusionSolarPowerEntityRealtime(FusionSolarPowerEntity):
pass
2 changes: 1 addition & 1 deletion custom_components/fusion_solar/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"domain": "fusion_solar",
"name": "FusionSolar",
"version": "2.3.0",
"version": "2.3.1",
"integration_type": "hub",
"documentation": "https://github.com/tijsverkoyen/HomeAssistant-FusionSolar",
"issue_tracker": "https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/issues",
Expand Down

0 comments on commit 9a4c2ad

Please sign in to comment.