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.
Go the Developer Tools, then to Call Service in the frontend, and choose
switch/turn_off from the list of available services (Available services: on the left). Enter something like the sample below into the Service Data field and hit CALL SERVICE.
|Service data attribute||Optional||Description|
||yes||Only act on specific switch. Else targets all.|