Created
September 27, 2018 18:18
-
-
Save Snipercaine/7bf0f3d8bbd839eaef8f5320f2fedad4 to your computer and use it in GitHub Desktop.
Broadlink IR and Home Assistant - Examples for Config and Automations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Broadlink.yaml | |
#Examples for your Configuration.yaml | |
#switch: | |
- platform: broadlink | |
host: 192.168.1.66 | |
mac: '78:0f:77:18:20:43' | |
type: rm2_pro_plus | |
switches: | |
tv: | |
friendly_name: "Projector" | |
command_on: 'JgC4AAABJJYQFBE5EBQQFRA5EDkRFBAVEDkQFBE5EDkQFRAUEDkRORAUETkQFBAVEBQRFBAVEBQQOhAUEDkRORA5EDkQORE5EAAFIwABJUsRAAxKAAElSxAADEwAASRMEAAMSwABJUsQAAxMAAEkTBAADEsAASVLEQAMSwABJEwQAAxLAAElSxEADEsAASRMEAAMSwABJUwQAAxLAAElSxAADEsAASVMEAAMSwABJUsRAAxLAAEkTBAADQU=' | |
command_off: 'JgDwAAABJZUQFRA5EBUQFBA5ETkQFBEUEDkQFRA5EDkQFRAUETkQORAUETkQORA5EBUUNRAVEBQRORAUEBUQFBE5EBQRORA5EAAFIQABJksRAAxKAAElSxAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEQAMSgABJUwQAAxLAAEkTBAADEsAASVLEAANBQAAAAAAAAAA' | |
volume: | |
friendly_name: "Projector Volume" | |
command_on: "JgCEAxMSEjcTEhMSExETEhMSExEUNhMSEzYTNxM2FDYTNxM2EwAE9gABJpMTEhM2ExITEhM2ExITNxM2EzcTEhM2EzcTERM3EzcSEhMSEzcTERMSExITEhISExITNxMREzcTNhM3EzcTNhQ2EwAE9QABJpQTERM3ExITERM3ExITNhM3EzYTEhM3EzYTEhM2EzcTEhMSEjcTEhMSExETEhMSExITNhMSEzYTNxM3EzYTNxM2EwAE9gABJpMUERM2ExITEhM2ExITNxM2EzcTEhM2EzcTERM3EzcTERMSEzcTERQRExITEhMRExITNxMREzcTNxI3EzcTNhM3EwAE9QABJpQTERM3ExITEhM2ExITNhM3FDUTEhM3EzYUERQ2EjcUERQREzYUERMSExETEhMSExITNhMSEzYTNxQ2EzYUNhM2EwAE9gABJpMUERQ1ExITEhM2FBETNxQ1FDYUERM2EzcUEBM3EzcTERMSFDYTERMSFBETEhMRExITNxMREzcTNxI3EzcTNhQ2FAAE9AABJpQTERM3FBETERM3ExIUNRQ2FDUUERQ2EzYTEhM3EzYUERMSEzYUERQRExETEhQRExITNhQRFDUUNhQ2EzYUNhM2FAAE9QABJ5IUERM2ExIUERQ1FBETNxQ1FDYUERM2FDYTERQ2FDYTERQRFDYTERQRExITEhMRExIUNhMREzcTNxM2FDYTNhM3EwAE9QABJpQSEhM3ExISEhM3ExITNhM3EzYTEhM3EjcTEhM2EzcTEhMSEjcTEhMSEhITEhMSExISNxMSEzYTNxM3EjcTNxM2EwAE9gABJpMTEhM2ExITEhM2ExITNxM2EzcTEhI3EzcTERM3EzcSEhMSEzcSEhMSExITEhISExITNxISEzcTNhM3EzcSNxM3EwAE9QABJpQSEhM3ExISEhM3ExITNhM3EzYTEhM3EzYTEhM2EzcTEhMSEjcTEhMSEhITEhMSExITNhMSEzYTNxM2EzcTNxM2EwAE9AABKJMTEhM2ExITEhM2ExITNxM2EzcTEhI3EzcTERM3EzYTEhMSEzcSEhMSExITEhISExIUNhMREzcTNhQ2EzcSNxM3EwAE9QABJ5ITEhM3FBESEhM3ExITNhM3EzYTEhM3EzYUERQ1FDYUERQQFDYUERQREhITEhMSExETNxMSEzYTNxM2EzcTNxI3EwANBQAAAAA=" | |
command_off: "JgCEAxI4EjcSExITEhISExITEhMSEhITEjgSNxI4EzYTNxM2EwAE9gABJpMTEhM3ExEUERM3ExEUNhM3EzYTEhM2FDYTEhM2EzcTEhM2EzcTERQRExITEhMRFBEUERMSEzYTNxM2FDYTNhQ2EwAE9QABJ5MTEhM2ExITEhM2ExITNxM2EzcTERQ2EzcTERM3EzYUERM3EzYTEhMSExITERMSExITEhMREzcTNhQ2EzcTNhM3EwAE9QABJpMUERM3ExITERM3ExITNhM3EzYTEhM3EzYTEhM2FDYTEhM2EzcTEhMRExITEhMSExETEhMSEzYTNxM3EzYTNxM2EwAE9gABJpMTEhM2ExITEhM2FBETNxM2EzcTEhM2EzcTEhM2EzcTERM3EzYUERMSExITERQRExITEhMREzcTNhQ2EzcTNhM3EwAE9QABJpQTERQ2ExITEhM2ExITNhM3EzYUERM3EzYTEhM3EzYTEhM2FDYTEhMSExETEhMSExITERMSEzcTNhM3EzYTNxM2FAAE9QABJpMTEhM3ExETEhM3ExETNxM2FDYTEhM2EzcTEhM2EzcTEhM2EzcTERMSExITEhMRExITEhMSEzYTNxM2EzcTNhQ2EwAE9QABJ5MTEhM2ExITEhM2ExITNxM2EzcTERM3EzYUERM3EzYTEhM3EzYTEhMSExEUERMSExITERQREzcTNhM3EzYUNhM3EwAE9QABJpMUERM3ExITERM3ExITNhM3EzYTEhM2FDYTEhM2FDYTEhM2EzcTEhMRExITEhMSExETEhMSEzYTNxM2FDYTNhQ2EwAE9gABJpMTEhM2ExITEhM2ExITNxM2EzcTEhM2EzcTERM3EzYUERM3EzYTEhMSExITERMSExITEhMREzcTNhQ2EzcTNhM3EwAE9QABJpMUERM3ExITERM3ExITNhM3EzYTEhM3EzYTEhM2FDYTEhM2EzcTEhMRFBETEhMSExETEhMSEzYUNhM3EzYTNxM2EwAE9gABJpMTEhM2FBETEhM2FBETNxM2EzcTEhM2EzcTEhM2EzcTERM3EzYUERMSExITERQRExITEhMRFDYTNxM2EzcTNhM3EwAE9QABJZUSExI3EhMSEhM3EhMSNxI4EjcTEhE5EjcSExE5ETgRFBE4ETkRFBEUERMRFBEUERQQFBEUETkROBE5ETgRORE4EQANBQAAAAA=" | |
#input_boolean: | |
receiver: | |
name: Projector Sound | |
icon: mdi:surround-sound | |
#input_select: | |
desk_leds: | |
name: Desk LEDs | |
options: | |
- "Blue" | |
- "Maize" | |
- "Green" | |
#input_select: | |
projector_input: | |
name: Projector Input | |
options: | |
- "Roku" #VCR | |
- "Cable" #CBL | |
- "DVD" #Game | |
- "extra" #BD | |
#Examples for your Automations.yaml | |
- alias: Projector Receiver Toggle | |
trigger: | |
- platform: state | |
entity_id: input_boolean.receiver | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_66 | |
data: | |
packet: "JgCoAQABJZQRFBE4ERQRFBE4ERQRORE4ExIRFBE4ETkRFBE4ETkRFBA5ETkRExE5ERQRExE5ETkRExEUETkRExE5ETgRFBEUEQAFHAABJE0RAAxJAAEmSxIADEgAASZLEgAMSAABJksSAAxIAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAElTBEADEkAASVMEQAMSgABJkoTAAxHAAElTBEADEkAASdIFQAMSAABJEwRAAxKAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASVLEgAMSQABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJkoUAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShQADQU=" | |
- alias: Select Desk LEDs Blue | |
trigger: | |
- platform: state | |
entity_id: input_select.desk_leds | |
to: "Blue" | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_62 | |
data: | |
packet: "JgC4AQABKZQSExMSFBIRFRESFBMRFBISEzcTNxI3FDcTNxI3FDcTNxI4EzcTEhM3EzcSFBISExMRFBISEzcTEhMTETgTNxM3EgAFHQABKUsTAAxUAAEpSxIADFAAASlLEwAMVAABKUsSAAxUAAEqShMADFUAASlLEgAMVQABKUsTAAxUAAEqShMADFQAASpKEwAMVQABKUoTAAxVAAEpShMADFUAASlKEwAMVQABKEsTAAxUAAEpSxIADFUAASlLEgAMVQABKUsTAAxUAAEqShMADFQAASlLEwAMVAABKUsTAAxUAAEpSxMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASpKEwAMVAABKUsTAAxUAAEpSxMADFQAASlLEwAMVAABKkoTAAxUAAEpSxMADFQAASlLEwAMVAABKUsTAAxUAAEpSxIADFUAASlKEwAMVAABKUsTAAxUAAEpShMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASpKEwAMVAABKkoTAAxUAAEqShMADFQAASlLEwAMRQABKksTAA0F" | |
- alias: Select Desk LEDs Maize | |
trigger: | |
- platform: state | |
entity_id: input_select.desk_leds | |
to: "Maize" | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_62 | |
data: | |
packet: "JgCYAQABJ5YRFRETEhMRFRETEhQQFREUEjgRORA5EzgRORA6EjgRORAVERQSOBI4EDoRFBAVEhMSOBI4EBUSExITEDoSOBI4EQAFIAABKEwSAAxWAAEpShEADFcAASdMEQAMVgABJ00SAAxVAAEoSxMADFQAAShLEwAMVAABKUoTAAxUAAEpShMADFQAASlKEwAMVAABKEsTAAxUAAEoSxMADFQAASlKEwAMVAABKUoTAAxUAAEpShMADFQAASlKEwAMVAABKEsTAAxUAAEoSxIADFUAAShLEwAMUwABKUsSAAxUAAEpSxIADFQAASlKEwAMVAABKUoTAAxUAAEpShMADFQAAShLEwAMUwABKUsSAAxUAAEpShMADFQAAShLEwAMUwABKUoTAAxUAAEmTRIADFQAASdMEwAMUwABJ00QAAxWAAEnTBEADFYAASZNEAAMVgABKUoRAAxWAAEpShAADFYAASdNEAAMVgABJ0wRAAxWAAEnTBAADFYAASdMEQAMVgABJ0wQAAxWAAEnTBEADFYAASdMEQANBQ==" | |
- alias: Select Desk LEDs Green | |
trigger: | |
- platform: state | |
entity_id: input_select.desk_leds | |
to: "Green" | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_62 | |
data: | |
packet: "JgAgAQABKpUSExITERUQFBMTEBURFBITETkSORE4ETkTOBE5EDkTOBI4EBUSExITETkSExEVERMSFBA6EjgRORAVETkQOhI4EgAFIAABKUsSAAxTAAEqShIADFYAASlLEgAMVQABKkoSAAxWAAEpSxIADFYAASlKEwAMVQABKkoSAAxVAAEqShMADFEAASlLEgAMVgABKUsSAAxWAAEpSxIADFYAASpKEgAMVgABKkoSAAxWAAEpSxIADFUAASlLEwAMVQABK0kTAAxVAAEqShMADFQAAStJFAAMVAABK0kUAAxUAAErSRQADFQAAStJFAAMVAABK0kUAAxUAAErSRQADFQAASpKEwAMVAABKUsUAAxUAAEqShMADFIAAStKEwANBQAAAAAAAAAA" | |
- alias: Select Projector Input Roku | |
trigger: | |
- platform: state | |
entity_id: input_select.projector_input | |
to: "Roku" | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_66 | |
data: | |
packet: "JgAoAgABJpQTEhM2ExITEhM2FBETNhM3FDYTERQ2FDUUERQ2FDUUERM3EzYUNhM2FBETEhMRExITEhMSExETEhM3EzYTNxM2EwAE9gABJkoUAAxHAAEkTBEADEoAASRMEQAMSgABJkoTAAxIAAEkTREADEkAASRNEQAMSQABJE0SAAxIAAEmSxIADEkAASVLEgAMSQABJUsSAAxJAAElSxIADEkAASVLEgAMSQABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAEmSxEADEkAASZLEwAMRwABJksTAAxIAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmSxIADEgAASZLEgAMSAABJksTAAxHAAEmSxMADEcAASZLEwAMSAABJkoTAAxIAAEmShMADEgAASdJEwAMSAABJ0kTAAxIAAEnShMADEcAASdKEwAMRwABJ0oUAAxGAAEnShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMSAABJE0TAAxHAAEkTREADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQANBQ==" | |
- alias: Select Projector Input Cable | |
trigger: | |
- platform: state | |
entity_id: input_select.projector_input | |
to: "Cable" | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_66 | |
data: | |
packet: "JgDgAQABJpMTEhM3EhITEhM3EhITNxM2EzcTEhM2EzcTEhI3EzcSEhMSEzcTNhM3ExISEhMSExITNhMSExITEhI3EzcTNhM3EwAE9QABJksTAAxHAAEmSxMADEgAASVLEwAMSAABJUsTAAxIAAEmShMADEgAASdJFAAMRwABJkoTAAxIAAEmShMADEgAASZLEwAMRwABJksRAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwSAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTREADEkAASRNEQAMSQABJE0RAAxJAAElTBEADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBIADEkAASRNEQAMSQABJE0RAAxJAAEkTREADEkAASZLEQANBQAAAAAAAAAA" | |
- alias: Select Projector Input DVD | |
trigger: | |
- platform: state | |
entity_id: input_select.projector_input | |
to: "DVD" | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_66 | |
data: | |
packet: "JgDYAgABJJYRExI4ERQRExI4ERQROBE5ETgSExE5ETgRFBE5ETgRFBE5ERMRORE4ERQRFBEUERMRFBE5ERMSExE5ETgRORE4EgAE9wABJE0RAAxJAAEkTREADEkAASRNEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBIADEkAASRNEQAMSQABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAEkTREADEkAASVMFAAMRwABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJE0RAAxJAAEkTREADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEgAMSQABJE0RAAxJAAEkTREADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEgAMSQABJE0RAAxJAAEkTREADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRMEgAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAElTBEADEkAASVMEQAMSgABJEwRAAxKAAEkTBEADEoAASRNEQAMSQABJE0RAAxJAAElTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTBIADEkAASRNEQAMSQABJUwRAAxKAAEkTBEADEoAASRMEQAMSgABJEwRAAxKAAEkTREADEkAASRNEQAMSQABJUwRAA0F" | |
- alias: Select Projector Input extra | |
trigger: | |
- platform: state | |
entity_id: input_select.projector_input | |
to: "extra" | |
action: | |
- service: switch.broadlink_send_packet_192_168_1_66 | |
data: | |
packet: "JgCYAgABJpMTEhM2FBETEhM2FBETNxM2ExITEhM2EzcTEhM2EzcTERQRExITNhQ2ExITEhMREzcTNhQ2ExITERQ2EzYUNhMSEwAFGgABJkoUAAxHAAEmShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJksTAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEgAASZKEwAMRwABJ0oTAAxHAAEnShMADEcAASdKEwAMRwABJ0oTAAxHAAEmSxMADEcAASZLEwAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASZLEwAMRwABJkoUAAxHAAEmShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEnShMADEcAASZLEwAMRwABJkoUAAxHAAEmShQADEcAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJ0oTAAxHAAEmShQADEcAASZKFAAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMRwABJ0oTAAxHAAEnShMADEcAASZLEwAMRwABJkoUAAxHAAEmShMADEgAASZKEwAMSAABJkoTAAxIAAEmShMADEcAASdKEwAMRwABJksTAAxHAAEmSxIADEgAASVLEwAMSAABJEwRAAxKAAEkTBEADEkAASVMEQAMSQABJE0RAAxJAAEkTREADEkAASRMEQAMSgABJUsSAAxJAAElSxIADQU=" | |
Hi,
Where is defined switch.broadlink_send_packet_192_168_1_66 ?
I get this error:Service not found for call_service at pos 1: Unable to find service switch/broadlink_send_packet_192_168_1_27
I should add :script: broadlink_send_packet_192_168_1_27: sequence: - service: broadlink.send data: host: 192.168.1.27
But not work without the packet :/
If you successfully connect your broadlink device you can see on your service on developer tools, follow the picture to learn codes *define the host ip as the picture shows : https://imgur.com/CWFgH1n
I have the packet I always add to add the IP, sush as :
action:
- service: broadlink.send
data:
host: 192.168.1.27
packet:
- "JgCQAAABKZIUNxISFBETExISExITEhM3EzcTEhM3ExISNxQ3EzYTExI3ExMSEhQ2EzcTEhM3ExITEhM3EzcSExMRFDcTERQ3EgAFRAABKZIUNxMRFBETExISFBETExI3EzcTEhM3ExITNxQ2EzcSExI3ExMSEhQ3EjcTEhM3ExITEhM3EzcSExMRFDcTERQ3EgANBQAAAAAAAAAA"
In configuration.yaml add the following or install the Broadlink integration:
remote:
- platform: broadlink
host: 192.168.xx.xx
mac: 'ab:cd:ef:12:34:45'
then under switch:
switch
- platform: broadlink
host: 192.168.xx.xx
mac: 'ab:cd:ef:12:34:45'
switches:
# TV
- name: TV Power
command_on: "JgBYAAABJZQRExITEjgRFBETExISExETEjgSNxITEjgSNxI4EjcSOBITERMSExI4ERMSExITEhMSOBE4ETgSExI3EjgSOBE4EgAFJAABJ0sSAAxRAAEmSxIADQUAAAAAAAAAAAAAAAAAAA=="
command_off: "JgBYAAABJpMTEhMSEjcSExITERQRExITEjgROBITEjcSOBI3EjgSOBISEhMSExI3EhMSExITEhMROBI4EjcSExM2EjgSOBE4EwAFIwABKEoSAAxRAAEoShIADQUAAAAAAAAAAAAAAAAAAA=="
- name: TV Volume up
command_on: "JgBYAAABJZMSExITEjcSExITEhMRFBETEjgROBMSEjgSNxI3EjgSOBETEjgSExETEhMSExITERMSOBITETgTNxI3EjgROBI4EQAFJQABJ0oSAAxSAAEnShIADQUAAAAAAAAAAAAAAAAAAA=="
- name: TV Volume down
command_on: "JgBQAAABJZQSExETEjgSExETEhQRExITEjcSOBEUETgSNxI4EzcSNxI3EzcSExITERMSExITERQSEhITEzcROBI4ETkSNxE4EgAFJAABJ0oSAA0FAAAAAAAA"
- name: TV Mute
command_on: "JgBYAAABJpMSExITETgTEhITERMTEhITEjcTNxITETgSOBE4EzcSNxI4EhMRExI4EhMRExITEhMSExI3EzcRExI4EjcTNxI3EgAFJQABJ0oRAAxSAAEnShMADQUAAAAAAAAAAAAAAAAAAA=="
command_off: "JgBYAAABJZQSEhITEjgRExITEhMSExEUEjcSOBETEjgSNxI4EjcTNxI3EhMSExI4EhISExITEhMRExI4EjcSExI4EjcSOBI3EwAFJAABJ0oTAAxSAAEmShMADQUAAAAAAAAAAAAAAAAAAA=="
in your automation, you can now use:
action:
- service: switch.turn_on
data:
entity_id: switch.tv_power
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you successfully connect your broadlink device you can see on your service on developer tools, follow the picture to learn codes *define the host ip as the picture shows : https://imgur.com/CWFgH1n