mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 21:57:51 +00:00
Remove not needed call to update (#8930)
* This will ensure no I/O in entity properties.
This commit is contained in:
parent
0999e2ddc4
commit
49733b7fdf
@ -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