Remove additional self from update function in RainMachine (#18810)

This commit is contained in:
Aaron Bach 2018-11-29 14:47:41 -07:00 committed by Paulus Schoutsen
parent d9124b182a
commit 31d7221c90

View file

@ -77,7 +77,7 @@ class RainMachineSensor(RainMachineEntity):
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)