Skip to content

Commit

Permalink
Trigger state write
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsverkoyen committed Jan 13, 2023
1 parent d1e4621 commit acfb68e
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit acfb68e

Please sign in to comment.