mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 23:27:37 +00:00
Add filters to siren/services.yaml (#95864)
This commit is contained in:
parent
b8369a5831
commit
7f666849c2
@ -6,16 +6,24 @@ turn_on:
|
|||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: siren
|
domain: siren
|
||||||
|
supported_features:
|
||||||
|
- siren.SirenEntityFeature.TURN_ON
|
||||||
fields:
|
fields:
|
||||||
tone:
|
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.
|
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
|
example: fire
|
||||||
|
filter:
|
||||||
|
supported_features:
|
||||||
|
- siren.SirenEntityFeature.TONES
|
||||||
required: false
|
required: false
|
||||||
selector:
|
selector:
|
||||||
text:
|
text:
|
||||||
volume_level:
|
volume_level:
|
||||||
description: The volume level of the noise to emit when turning the siren on. Must be supported by the integration.
|
description: The volume level of the noise to emit when turning the siren on. Must be supported by the integration.
|
||||||
example: 0.5
|
example: 0.5
|
||||||
|
filter:
|
||||||
|
supported_features:
|
||||||
|
- siren.SirenEntityFeature.VOLUME_SET
|
||||||
required: false
|
required: false
|
||||||
selector:
|
selector:
|
||||||
number:
|
number:
|
||||||
@ -25,6 +33,9 @@ turn_on:
|
|||||||
duration:
|
duration:
|
||||||
description: The duration in seconds of the noise to emit when turning the siren on. Must be supported by the integration.
|
description: The duration in seconds of the noise to emit when turning the siren on. Must be supported by the integration.
|
||||||
example: 15
|
example: 15
|
||||||
|
filter:
|
||||||
|
supported_features:
|
||||||
|
- siren.SirenEntityFeature.DURATION
|
||||||
required: false
|
required: false
|
||||||
selector:
|
selector:
|
||||||
text:
|
text:
|
||||||
@ -35,6 +46,8 @@ turn_off:
|
|||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: siren
|
domain: siren
|
||||||
|
supported_features:
|
||||||
|
- siren.SirenEntityFeature.TURN_OFF
|
||||||
|
|
||||||
toggle:
|
toggle:
|
||||||
name: Toggle
|
name: Toggle
|
||||||
@ -42,3 +55,6 @@ toggle:
|
|||||||
target:
|
target:
|
||||||
entity:
|
entity:
|
||||||
domain: siren
|
domain: siren
|
||||||
|
supported_features:
|
||||||
|
- - siren.SirenEntityFeature.TURN_OFF
|
||||||
|
- siren.SirenEntityFeature.TURN_ON
|
||||||
|
Loading…
x
Reference in New Issue
Block a user