Skip to content

Commit

Permalink
fix: threadsafe update_ha_state, references #184
Browse files Browse the repository at this point in the history
  • Loading branch information
geertmeersman committed Jul 25, 2024
1 parent 001cac3 commit 83822dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/robonect/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def async_send_command(
def update_ha_state(self):
"""Update HA state."""
self.last_synced = datetime.now()
self.async_write_ha_state()
self.schedule_update_ha_state()


class RobonectCoordinatorEntity(
Expand Down

0 comments on commit 83822dc

Please sign in to comment.