Siren
The Siren integration is built for the controlling and monitoring of siren/chime devices.
Building block integration
The siren integration cannot be directly used. You cannot create your own siren entities using this integration. This integration is a building block for other integrations to use, enabling them to create siren entities for you.
Services
siren services
Available services: siren.turn_on
, siren.turn_off
, siren.toggle
Service siren.turn_on
Turn the siren on.
Service data attribute | Optional | Description |
---|---|---|
entity_id |
yes | String or list of strings that point at entity_id ’s of sirens to control. |
There are three optional input parameters that can be passed into the service call depending on whether or not your device supports them. Check the device’s integration documentation for more details.
Parameter Name | Input Type | Notes |
---|---|---|
tone |
string or integer
|
When the available_tones property is a map, either the key or value can be used. |
duration |
integer |
|
volume_level |
float between 0 and 1 |
Service siren.turn_off
Turn the siren off.
Service data attribute | Optional | Description |
---|---|---|
entity_id |
yes | String or list of strings that point at entity_id ’s of sirens to control. |
Service siren.toggle
Toggle the siren on/off.
Service data attribute | Optional | Description |
---|---|---|
entity_id |
yes | String or list of strings that point at entity_id ’s of sirens to control. |