Fix siren.toggle service schema (#95770)

pull/95825/head
Erik Montnemery 2023-07-04 08:48:16 +02:00 committed by GitHub
parent 234ebdcb84
commit e0c77fba22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
SERVICE_TOGGLE,
{},
"async_toggle",
[SirenEntityFeature.TURN_ON & SirenEntityFeature.TURN_OFF],
[SirenEntityFeature.TURN_ON | SirenEntityFeature.TURN_OFF],
)
return True