The entity in the example is missing the domain 🤦‍♂
This commit is contained in:
Dubh Ad 2019-06-30 13:32:12 +01:00 committed by Franck Nijhof
parent 24a50f468c
commit 3644c69b27

View File

@ -24,7 +24,7 @@ Keeps track which switches are in your environment, their state and allows you t
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**.
```json
{"entity_id":"livingroom_pin2"}
{"entity_id":"switch.livingroom_pin2"}
```
| Service data attribute | Optional | Description |