mirror of
https://github.com/home-assistant/core.git
synced 2025-07-31 09:17:10 +00:00
Remove not needed call to update (#8930)
* This will ensure no I/O in entity properties.
This commit is contained in:
parent
8523aaca64
commit
956543ae1e
@ -199,7 +199,6 @@ class RachioZone(SwitchDevice):
|
|||||||
@property
|
@property
|
||||||
def is_on(self):
|
def is_on(self):
|
||||||
"""Whether the zone is currently running."""
|
"""Whether the zone is currently running."""
|
||||||
self._device.update()
|
|
||||||
schedule = self._device.current_schedule
|
schedule = self._device.current_schedule
|
||||||
return self.zone_id == schedule.get('zoneId')
|
return self.zone_id == schedule.get('zoneId')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user