parent
78a3c01f27
commit
384f63dd1d
23 changed files with 33 additions and 21 deletions
|
@ -277,7 +277,7 @@ class Alert(ToggleEntity):
|
|||
yield from self.async_update_ha_state()
|
||||
|
||||
@asyncio.coroutine
|
||||
def async_toggle(self):
|
||||
def async_toggle(self, **kwargs):
|
||||
"""Async toggle alert."""
|
||||
if self._ack:
|
||||
return self.async_turn_on()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue