mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Added remote/toggle service (#3112)
This commit is contained in:
parent
76d64d90db
commit
0e8995e858
@ -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"}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user