Remove self from update function in rainmachine (#18807)

pull/18811/head
Daniel Høyer Iversen 2018-11-29 22:28:27 +01:00 committed by Paulus Schoutsen
parent f2b818658f
commit d9124b182a
1 changed files with 1 additions and 1 deletions

View File

@ -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)