mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update broadlink switch documentation with new location of service (#8989)
* Update broadlink switch documentation with new location of service
* ✏️ Tweak
This commit is contained in:
parent
6b224198bb
commit
afee3b37cb
@ -39,7 +39,6 @@ sensor:
|
|||||||
- 'temperature'
|
- 'temperature'
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration options:
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
host:
|
host:
|
||||||
description: The hostname/IP address to connect to.
|
description: The hostname/IP address to connect to.
|
||||||
@ -211,7 +210,7 @@ Information about how to install on Windows can be found [here](/components/sens
|
|||||||
|
|
||||||
### {% linkable_title How to obtain IR/RF packets? %}
|
### {% linkable_title How to obtain IR/RF packets? %}
|
||||||
|
|
||||||
Choose Call Service from the Developer Tools. Choose the service `switch.broadlink_learn_command` from the list of **Available services:** and hit **CALL SERVICE**. Press the button on your remote with in 20 seconds. The packet will be printed as a persistent notification in the States page of the web interface.
|
Choose Call Service from the Developer Tools. Choose the service `broadlink.learn` from the list of **Available services:** and hit **CALL SERVICE**. Press the button on your remote with in 20 seconds. The packet will be printed as a persistent notification in the States page of the web interface.
|
||||||
|
|
||||||
Example config for `rm`, `rm2`, `rm_mini`, `rm_pro_phicomm`, `rm2_home_plus`, `rm2_home_plus_gdt`, `rm2_pro_plus`, `rm2_pro_plus2`, `rm2_pro_plus_bl` and `rm_mini_shate` devices:
|
Example config for `rm`, `rm2`, `rm_mini`, `rm_pro_phicomm`, `rm2_home_plus`, `rm2_home_plus_gdt`, `rm2_pro_plus`, `rm2_pro_plus2`, `rm2_pro_plus_bl` and `rm_mini_shate` devices:
|
||||||
|
|
||||||
@ -291,10 +290,11 @@ switch:
|
|||||||
|
|
||||||
### {% linkable_title Service `broadlink_send_packet` %}
|
### {% linkable_title Service `broadlink_send_packet` %}
|
||||||
|
|
||||||
You can use the service `switch.broadlink_send_packet` to directly send IR packets without the need to assign a switch entity for each command.
|
You can use the service `broadlink.send` to directly send IR packets without the need to assign a switch entity for each command.
|
||||||
|
|
||||||
| Service data attribute | Optional | Description |
|
| Service data attribute | Optional | Description |
|
||||||
| ---------------------- | -------- | ----------- |
|
| ---------------------- | -------- | ----------- |
|
||||||
|
| `host` | no | IP address to send command to.
|
||||||
| `packet` | no | String or list of strings that contain the packet data.
|
| `packet` | no | String or list of strings that contain the packet data.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
@ -303,8 +303,9 @@ Example:
|
|||||||
script:
|
script:
|
||||||
tv_select_source:
|
tv_select_source:
|
||||||
sequence:
|
sequence:
|
||||||
- service: switch.broadlink_send_packet_192_168_0_107
|
- service: broadlink.send
|
||||||
data:
|
data:
|
||||||
|
host: 192.168.0.107
|
||||||
packet:
|
packet:
|
||||||
- "JgCMAJSSFDYUNhQ2FBEUERQRFBEUERQ2FDYUNhQRFBEUERQRFBEUERQRFDYUERQRFBEUERQRFDYUNhQRFDYUNhQ2FDYUNhQABfWUkhQ2FDYUNhQRFBEUERQRFBEUNhQ2FDYUERQRFBEUERQRFBEUERQ2FBEUERQRFBEUERQ2FDYUERQ2FDYUNhQ2FDYUAA0FAAAAAAAAAAAAAAAA"
|
- "JgCMAJSSFDYUNhQ2FBEUERQRFBEUERQ2FDYUNhQRFBEUERQRFBEUERQRFDYUERQRFBEUERQRFDYUNhQRFDYUNhQ2FDYUNhQABfWUkhQ2FDYUNhQRFBEUERQRFBEUNhQ2FDYUERQRFBEUERQRFBEUERQ2FBEUERQRFBEUERQ2FDYUERQ2FDYUNhQ2FDYUAA0FAAAAAAAAAAAAAAAA"
|
||||||
- "JgBGAJSTFDUUNhM2ExITEhMSExITEhM2EzYTNhQRFBEUERQRFBEUNRQ2ExITNhMSExITNhMSExITEhM2ExITNhQ1FBEUNhMADQUAAA=="
|
- "JgBGAJSTFDUUNhM2ExITEhMSExITEhM2EzYTNhQRFBEUERQRFBEUNRQ2ExITNhMSExITNhMSExITEhM2ExITNhQ1FBEUNhMADQUAAA=="
|
||||||
|
Loading…
x
Reference in New Issue
Block a user