Franck Nijhof ebca3218c7
🔥Removes linkable_title everywhere (#9772)
* Automatically create linkable headers

* Visually improve position of linkable header chain icon

* Do not auto link  headers on homepage

* Remove linkable_title everywhere

* 🚑 Re-instante linkable_title plugin as NOOP
2019-07-04 19:08:27 +02:00

1.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_qa_scale, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_qa_scale ha_release
page Switches Instructions on how to set up your switches with Home Assistant. 2015-01-24 14:39 true false true true home-assistant.png
Switch
internal 0.7

Keeps track which switches are in your environment, their state and allows you to control them.

  • Maintains a state per switch and a combined state all_switches.
  • Registers services switch.turn_on, switch.turn_off, and switch.toggle to control switches.

Use the services

In the frontend open the sidebar. At the bottom, under Developer Tools, click Services. From the Service dropdown menu choose switch.turn_on or switch.turn_off from the list of available services. In the Entity dropdown menu choose or enter the entity ID you want to work with. This will enter something like the sample below into the Service Data field. Now hit CALL SERVICE.

{"entity_id":"switch.livingroom_pin2"}
Service data attribute Optional Description
entity_id yes Only act on a specific switch. Otherwise, it targets all switches.