Good afternoon all,
I have been trying to find out what it is that I am doing wrong in trying to add two Broadlink RM Mini’s. They’re in separate rooms, they’ve been added as integrations and the remotes themselves show up, but I can only get one to transmit codes. As soon as I add the codes for the second the first one’s commands disappear from my set up - though they’re still showing in the configuration.yaml and the switch.yaml.
I’ve now moved everything to do with the Broadlink remotes in the switch.yaml and with one, again, it runs fine. Add in the second one and I get the following error message when I try to test the config:
Invalid config for [switch]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 12).
However, when I look at my configuration.yaml the line referring to switches isn’t on line 12, it’s on 13. I can’t see anything in the switch.yaml either.
Configuration.yaml:
# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
input_boolean: !include input_boolean.yaml
switch: !include switch.yaml
My switch.yaml file goes like this:
switch:
- platform: Broadlink
host: 192.168.68.153
mac: 24-DF-A7-36-D4-38
switches:
- name: Samsung_3D_Power
command_on: "JgCMAI6VEjgSNxI4ERQRFBETEhMSExE5EjcSOBITERQRFBETEhMRFBE5ERMSExEUERQRFBETEjgSExE5EjcSOBI4ETgSOBEABgmPkhQ4EjgRNxMTEhMRFBEUERQROBI4ETkRExITERQRFBEUERQROBITERQRFBETEhMRFBE5ERQROBI4EjgROBI4EjgRAA0FAAAAAAAAAAAAAAAA"
command_off: "JgCMAI6VEjgSNxI4ERQRFBETEhMSExE5EjcSOBITERQRFBETEhMRFBE5ERMSExEUERQRFBETEjgSExE5EjcSOBI4ETgSOBEABgmPkhQ4EjgRNxMTEhMRFBEUERQROBI4ETkRExITERQRFBEUERQROBITERQRFBETEhMRFBE5ERQROBI4EjgROBI4EjgRAA0FAAAAAAAAAAAAAAAA"
- name: Samsung_3D_Source
command_on: "JgCMAI+UEzYTNxM3ExITERMSExITEhE4FDYTNhQSExETEhMSExITNhQRExITEhMSExITERMSExITNxM2EzcTNxM2EzcTNxMABgKVlBM2EzcTNxMSExETEhMSExITNxM2ETkTEhMRFBETEhMSEzcRExQRExITEhMSExITERQRETkTNxM2EzcTNxM2EzcTAA0FAAAAAAAAAAAAAAAA"
- platform: broadlink
host: 192.168.68.101
mac: A0-43-B0-77-07-0E
switches:
- name: Lily TV Power
command_on: "JgCMAI2SEzYTNhI3ExISEhMRExITERM2EzYSNxMRExITERMSEhITEhI2ExITERMSExETEhISEjcUEBM2EzYTNhM2EjcSNhMABg+SkxI3EjYTNxISEhITEhISExETNhM2EzYTEhISExITERMSEhISNxMRExISEhQREhIUEBM3ExESNxI2EzYTNhM2EzYSAA0F"
command_off: "JgCMAI2SEzYTNhI3ExISEhMRExITERM2EzYSNxMRExITERMSEhITEhI2ExITERMSExETEhISEjcUEBM2EzYTNhM2EjcSNhMABg+SkxI3EjYTNxISEhITEhISExETNhM2EzYTEhISExITERMSEhISNxMRExISEhQREhIUEBM3ExESNxI2EzYTNhM2EzYSAA0F"
- name: Lily Speakers Power
command_on: "JgBYAAABI5QSExITEhMSORETExISFBETEzgSOBE5EhMSOBQ2EjgSOBMSEhQSEhMTETkSExEUEhMSOBI4EjgTOBETEzgSOBE4EwAFIwABKUoSAAxhAAEoSxEADQU="
command_off: "JgBYAAABI5QSExITEhMSORETExISFBETEzgSOBE5EhMSOBQ2EjgSOBMSEhQSEhMTETkSExEUEhMSOBI4EjgTOBETEzgSOBE4EwAFIwABKUoSAAxhAAEoSxEADQU="
- name: Lily Speakers Optical1
command_on: "JgBQAAABIpUSFBETExISOBMTERQSEhMTEjgSOBI4EhMSOBI4EzgSOBE5EhMSExITEjgTEhITEhMSExM4EjgROBMTETkSOBI4EgAFJAABKEsTAA0F"
- name: Lily Speakers Direct
command_on: "JgBQAAABJJQSExITEhMTOBETExISFBISEzgSOBI4EhMSOBM3EjgSOBM4EjgRFBITEjgSExITEhMSExITEjgTOBETEzgSOBE5EgAFJAABKEoSAA0F"
I’ve shortened it to save scrolling, but is there anything that I need to change in this set up to get things working as I really am stumped?
Thanks in advance,
Tom