2016-06-12 21:04:45 +00:00
|
|
|
# Describes the format for available switch services
|
|
|
|
|
|
|
|
turn_on:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Turn a switch on.
|
2016-06-12 21:04:45 +00:00
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name(s) of entities to turn on
|
|
|
|
example: 'switch.living_room'
|
|
|
|
|
|
|
|
turn_off:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Turn a switch off.
|
2016-06-12 21:04:45 +00:00
|
|
|
fields:
|
|
|
|
entity_id:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Name(s) of entities to turn off.
|
2016-06-12 21:04:45 +00:00
|
|
|
example: 'switch.living_room'
|
|
|
|
|
|
|
|
toggle:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Toggles a switch state.
|
2016-06-12 21:04:45 +00:00
|
|
|
fields:
|
|
|
|
entity_id:
|
2017-10-30 20:39:12 +00:00
|
|
|
description: Name(s) of entities to toggle.
|
2016-06-12 21:04:45 +00:00
|
|
|
example: 'switch.living_room'
|