Added remote/toggle service (#3112)

This commit is contained in:
Alan Fischer 2017-08-03 09:49:43 -06:00 committed by Fredrik Lindqvist
parent 76d64d90db
commit 0e8995e858

View File

@ -13,11 +13,11 @@ ha_release: "0.34"
Keeps track which remotes are in your environment, their state and allows you to control them. Keeps track which remotes are in your environment, their state and allows you to control them.
* Maintains a state per remote and a combined state `all_remotes`. * Maintains a state per remote and a combined state `all_remotes`.
* Registers services `remote/turn_on`, `remote/turn_off`,`remote/sync`, and `remote/send_command` to control remotes. * Registers services `remote/turn_on`, `remote/turn_off`, `remote/toggle`, `remote/sync`, and `remote/send_command` to control remotes.
### {% linkable_title Use the services %} ### {% linkable_title Use the services %}
Go the the **Developer Tools**, then to **Call Service** in the frontend, and choose `remote/turn_on` or `remote/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**. Go the the **Developer Tools**, then to **Call Service** in the frontend, and choose `remote/turn_on`, `remote/turn_off`, or `remote/toggle` 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**.
```json ```json
{"entity_id":"remote.family_room"} {"entity_id":"remote.family_room"}