Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed May 24, 2024
1 parent 2703dd2 commit 18cd552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/jablotron100/jablotron.py
Original file line number Diff line number Diff line change
Expand Up @@ -2766,7 +2766,7 @@ async def remove_from_hass(self) -> None:

def refresh_state(self) -> None:
self._update_attributes()
self.async_write_ha_state()
self.schedule_update_ha_state()

def update_state(self, state: StateType) -> None:
self._jablotron.entities_states[self._control.id] = state
Expand Down

0 comments on commit 18cd552

Please sign in to comment.