mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Remove additional self from update function in RainMachine (#18810)
This commit is contained in:
parent
4bc9e6dfe0
commit
6f7ff9a18a
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user