ok… i’m new to Homeassistant/hassio and with a little help on here managed to get my rm pro+ to show up with 2 rf sockets as switches.
on doing this it was suggested that i split the rf codes to tidy up my configuration.yaml and make it easier in future to automate as I could just call the switch as a switch and not enter the rf code all the time. ( i really hope that makes sense to someone out there… )
when I check my configuration.yaml with the checker this is what i get…
" Validate your configuration if you recently made some changes to your configuration and want to make sure that it is all valid
Configuration invalidCHECK CONFIG
Component not found: broadlink"
what have i done wrong? or is it easier to answer what I done right? (if anything) …
and how can i correct it to get it working?
i’m trying to make these lamps turn on at sunset, its my first configuration/automation so im probably going to ask a lot of questions… hope you don’t mind…
if @flamingm0e’s suggestion is the best way then that is my preferred method…
i read the page though to be honest i didn’t make much sense to me (i’m sorry though i am an idiot when it comes to this… ) i think once i create my first automation and script then i may understand things better and have a better platform to learn more… .
from what i read the option that would i would use is the !include_dir_list to hold a list of ir or rf codes paired to a friendly name.
switch: < if the include is here it is one of the *list* ones
- platform: broadlink
host: xxx.xxx.xxx.xxx
mac: xx:xx:xx:xx:xx
switches: < if it is here it is one of the *name* ones
And which of the list/name include types you use depends on how you split the content.
Can you paste the whole section of configuration.yaml you’re trying to split out?
I am trying to split my configuration file as well here. I have read the various postings but am struggling
I have added the various files and all is ok
can someone plea se help me with the syntax
This is my current configuration (part) and all works -
mqtt:
broker: localhost
protocol: 3.1
client_id: hass-1
username: pi
password: raspberry123
Thanks all working well now?
I am trying to reflect a SmartThings Motion Sensor now in HA via MQTT.
I have got the icon on the Overview but it doesnt update.
Am I doing something wrong?
Here is a snippet from the mosquitto_log
smartthings/HallwayMotion1/motion active
smartthings/HallwayMotion1/motion inactive
No just the one to test initially
Now it seems that HA is not reflecting the changes published on the mqtt bridge.
I will be testing the HA - MQTT connection now