mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 02:37:08 +00:00
Fix siren.toggle service schema (#95770)
This commit is contained in:
parent
234ebdcb84
commit
e0c77fba22
@ -131,7 +131,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||||||
SERVICE_TOGGLE,
|
SERVICE_TOGGLE,
|
||||||
{},
|
{},
|
||||||
"async_toggle",
|
"async_toggle",
|
||||||
[SirenEntityFeature.TURN_ON & SirenEntityFeature.TURN_OFF],
|
[SirenEntityFeature.TURN_ON | SirenEntityFeature.TURN_OFF],
|
||||||
)
|
)
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user