Remove self from update function in rainmachine (#18807)

This commit is contained in:
Daniel Høyer Iversen authored and Paulus Schoutsen committed 2018-11-29 22:28:27 +01:00
1 parent 28215d7edd
commit 4bc9e6dfe0
1 file changed
+1 -1
@@ -74,7 +74,7 @@ class RainMachineBinarySensor(RainMachineEntity, BinarySensorDevice):
async def async_added_to_hass(self):
"""Register callbacks."""
@callback
def update(self):
def update():
"""Update the state."""
self.async_schedule_update_ha_state(True)