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
- Registers services
switch.toggleto control switches.
In the frontend open the sidebar. At the bottom, under Developer Tools, click Services. From the Service dropdown menu choose
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.
|Service data attribute||Optional||Description|
||yes||Only act on a specific switch. Otherwise it targets all switches.|