Files
core/homeassistant/components/switch/services.yaml
Raman Gupta 040fd9c258 Update service domains for xiaomi_miio from base domains to xiaomi_miio domain (#29134)
* move service constants to const.py, move all custom xiaomi_miio services to xiaomi_miio domain

* update service names

* try to fix black error

* try black formatting again

* final black formatting attempt

* update service names to reflect platform

* fix typo
2019-12-02 11:49:39 -08:00

23 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'