1
mirror of https://github.com/home-assistant/core synced 2024-08-02 23:40:32 +02:00
ha-core/homeassistant/components/siren/services.yaml
Raman Gupta c79ee53ab1
Use dict for zwave_js siren.available_tones (#54305)
* Use dict for zwave_js siren.available_tones

* update siren.turn_on service description
2021-08-09 13:29:17 +02:00

42 lines
1.0 KiB
YAML

# Describes the format for available siren services
turn_on:
description: Turn siren on.
target:
entity:
domain: siren
fields:
tone:
description: The tone to emit when turning the siren on. When `available_tones` property is a map, either the key or the value can be used. Must be supported by the integration.
example: fire
required: false
selector:
text:
volume_level:
description: The volume level of the noise to emit when turning the siren on. Must be supported by the integration.
example: 0.5
required: false
selector:
number:
min: 0
max: 1
step: 0.05
duration:
description: The duration in seconds of the noise to emit when turning the siren on. Must be supported by the integration.
example: 15
required: false
selector:
text:
turn_off:
description: Turn siren off.
target:
entity:
domain: siren
toggle:
description: Toggles a siren.
target:
entity:
domain: siren