With the deprecation of the old MQTT configurations coming in 2022.12 I’m left with one type of device that will just not want to add itself to the configuration. Switches…
I’m trying to add mqtt: → switch: → switches to my configuration using different merges. The first is including a mqtt include file in my main configuration.
From this “overall.yaml” file i’m adding all the different mqtt types such as covers, binsensors, sensors and trying to add "switch:’ now as well. But this last one keeps giving issues when adding it.
When adding “switch: !include_dir_merge_list mqttswitches/” it gives the error ‘NodeListClass’ object has no attribue ‘get’
It doesn’t matter if there are files with configurations in the folder mqttswitches or not. It will always give the error as soon as that line exists.
I have kind of the same problem. When I add this to my configuration.yaml home assistant starts flipping and when I try restarting hom assistant core crashes until I remove the mqtt-switch from my configuration.yaml
No I haven’t found a solution yet, I’m using the shelly integration right now. But I want to have it all based on mqtt and there are other switches which only allow mqtt and now aren’t working.
I need help with this too. I woke up today with a perfectly working MQTT setup. I had been delaying the update past the changes in the MQTT arrangement for this reason, but today I decided to update.
I was on a 2022 version of HA and everything was working great.
Now I can’t get a single one of my Shelly switches to register via MQTT
I have tried the arrangement above, and lots of other things, including the autodiscovery plugins.
Can someone show a working MQTT setup for a shelly 2.5 please?