hass-core/homeassistant/components/switch/services.yaml
Franck Nijhof 39336d3ea3
Add prettier (in pre-commit and CI) (#33693)
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00

22 lines
524 B
YAML

# Describes the format for available switch services
turn_on:
description: Turn a switch on.
fields:
entity_id:
description: Name(s) of entities to turn on
example: "switch.living_room"
turn_off:
description: Turn a switch off.
fields:
entity_id:
description: Name(s) of entities to turn off.
example: "switch.living_room"
toggle:
description: Toggles a switch state.
fields:
entity_id:
description: Name(s) of entities to toggle.
example: "switch.living_room"