mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Add selectors to Switch service definitions (#46635)
This commit is contained in:
parent
dec2eb36fd
commit
c8c3ce4172
@ -1,22 +1,13 @@
|
|||||||
# Describes the format for available switch services
|
# Describes the format for available switch services
|
||||||
|
|
||||||
turn_on:
|
turn_on:
|
||||||
description: Turn a switch on.
|
description: Turn a switch on
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to turn on
|
|
||||||
example: "switch.living_room"
|
|
||||||
|
|
||||||
turn_off:
|
turn_off:
|
||||||
description: Turn a switch off.
|
description: Turn a switch off
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to turn off.
|
|
||||||
example: "switch.living_room"
|
|
||||||
|
|
||||||
toggle:
|
toggle:
|
||||||
description: Toggles a switch state.
|
description: Toggles a switch state
|
||||||
fields:
|
target:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to toggle.
|
|
||||||
example: "switch.living_room"
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user