Thanks Petro, restarted and now itâs appeared but If I want to put this back in a seperate file and have this line in my configuration.yaml switch: !include_dir_list switches/, do I then put the following in my switch.yaml file, do I put switch: in there also?
Sorry Petro but itâs still not working if I do that!
If I have all all lines in configuration.yaml it works fine but I have many switches and it will make that file too long so I want to put in seperate file in a folder named switches
Please see below, is this what you meant?
In configuaration.yaml file I have only this line referring to switch switch: !include_dir_list switches/
And in a seperate file named tvswitch.yaml in my switches folder I have the following, leaving out the first line being switch: as you suggested
Morning Ben,
That happened when I cut and pasted but in my actually tvswitch.yaml they are in line, unfortunately!
Do you know if they have changed the way you call up a dseperate file from your configuration.yaml using this? !include_dir_list
I think itâs different when using automation as I have been using it with a list of different switches before the update without a problem. For now I think Iâm just going to have to have a very long configuration file and call it a day on tis problem before I drive you and Petro insane!
Thank you Ben and Petro for all your help in this, itâs been much appreciated!
Thanks Petro, we are getting closer as the merge lists is what I needed and now Check Configuration is ok.
BUT when I retstart, I cannot find Philips TV in the entities again. Iâll put exactly what I have.
In configuration.yaml I have switch: !include_dir_merge_list switches/
In a file named tvswitches.yaml in the config\switches folder I have
make sure your spacing is correct, you should have an error in your logs if itâs not read correctly. The error may not show up with check config. Always consult your home-assistant.log file. On the surface, I can see your spacing is off for platform & mac, but that could be a copy/paste issue.
Sorry Ben pointed out the spaing but in my file, platform, mac, and switches are all in same line.
By Log File, d you mean the one in Supervisor\System tab, if you do then no errors showing. I just canât understand it!
No, inside your config folder there will be a home_assistant.log file and you can view it. Thereâs not much to understand. Either your config is correct and the device shows up or itâs not correct and it doesnât. You have to search for the entity properly to know it showed up. If you donât know how to do that, youâre going to have a bad time. If you donât know how to look for the config errors, youâre going to have a bad time. You need to learn those basics.
Thanks Benjamin, youâre a star!
Your posts helped me sort out my broadlink switches and Iâve managed to update with everything back up and running again.