From 6c0f78eec04691dc50780c89781e2e32e63e56b9 Mon Sep 17 00:00:00 2001 From: Joakim Plate Date: Wed, 20 Mar 2019 16:44:56 +0100 Subject: [PATCH 1/2] Update broadlink switch documentation with new location of service --- source/_components/broadlink.markdown | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/_components/broadlink.markdown b/source/_components/broadlink.markdown index 7724ba079906..99f6a1f0554a 100644 --- a/source/_components/broadlink.markdown +++ b/source/_components/broadlink.markdown @@ -211,7 +211,7 @@ Information about how to install on Windows can be found [here](/components/sens ### {% 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: @@ -291,10 +291,11 @@ switch: ### {% 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 | | ---------------------- | -------- | ----------- | +| `host` | no | IP address to send command to. | `packet` | no | String or list of strings that contain the packet data. Example: @@ -303,8 +304,9 @@ Example: script: tv_select_source: sequence: - - service: switch.broadlink_send_packet_192_168_0_107 + - service: broadlink.send data: + host: 192.168.0.107 packet: - "JgCMAJSSFDYUNhQ2FBEUERQRFBEUERQ2FDYUNhQRFBEUERQRFBEUERQRFDYUERQRFBEUERQRFDYUNhQRFDYUNhQ2FDYUNhQABfWUkhQ2FDYUNhQRFBEUERQRFBEUNhQ2FDYUERQRFBEUERQRFBEUERQ2FBEUERQRFBEUERQ2FDYUERQ2FDYUNhQ2FDYUAA0FAAAAAAAAAAAAAAAA" - "JgBGAJSTFDUUNhM2ExITEhMSExITEhM2EzYTNhQRFBEUERQRFBEUNRQ2ExITNhMSExITNhMSExITEhM2ExITNhQ1FBEUNhMADQUAAA==" From ce89832b27d15f9f9a0059d73b612e2790d85991 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Thu, 25 Apr 2019 19:49:50 +0200 Subject: [PATCH 2/2] :pencil2: Tweak --- source/_components/broadlink.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_components/broadlink.markdown b/source/_components/broadlink.markdown index 99f6a1f0554a..69fafca2c6f5 100644 --- a/source/_components/broadlink.markdown +++ b/source/_components/broadlink.markdown @@ -39,7 +39,6 @@ sensor: - 'temperature' ``` -Configuration options: {% configuration %} host: description: The hostname/IP address to connect to.