Remove additional self from update function in RainMachine (#18810)
This commit is contained in:
parent
d9124b182a
commit
31d7221c90
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class RainMachineSensor(RainMachineEntity):
|
||||||
async def async_added_to_hass(self):
|
async def async_added_to_hass(self):
|
||||||
"""Register callbacks."""
|
"""Register callbacks."""
|
||||||
@callback
|
@callback
|
||||||
def update(self):
|
def update():
|
||||||
"""Update the state."""
|
"""Update the state."""
|
||||||
self.async_schedule_update_ha_state(True)
|
self.async_schedule_update_ha_state(True)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue