Skip to content

Commit

Permalink
Merge pull request #643 from janvanicek/641-change-update-method
Browse files Browse the repository at this point in the history
Change method for updating HA state
  • Loading branch information
humbertogontijo authored Jun 20, 2024
2 parents 595676c + 29aaec4 commit 36761d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/roborock/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,5 +126,5 @@ def _update_from_listener(self, value: Status | Consumable):
else:
self.coordinator.device_info.props.consumable = value
self.coordinator.data = self.coordinator.device_info.props
self.async_write_ha_state()
self.schedule_update_ha_state()

0 comments on commit 36761d7

Please sign in to comment.