Unfortunately there is an issue with OH 4.3.1 in the new MQTT/Home Assistent channel naming. I like the new format, this is much cleaner, and some of my issues are fixed, but:
If the node is added first time, switches and covers become “…:switch_1_switch” instead of “…:switch_1”.
Same for “…:position_1_cover” instead of “…:position_1”, and one gets errors.
A restart does fix this.
But if one updates the Thing, e.g. changing the label, the _switch/cover is added again.
I’ve noticed this myself while testing some new software that publishes Home Assistant discovery. I’m fairly certain that it has to do with multiple publishings of the discovery info (either when the publishing software restarts, or in response to openHAB requesting discovery). Does the publishing software you’re using support a “retain” setting (for example, Zigbee2MQTT has such a setting). I believe that mostly works around the issue for now, until I can get a fix done. I don’t know when that will be, though - winter vacation is all but over, and I may not have much hobby time for a bit.
Hi Cody, thanks for the fast reply, much appreciated. Sorry for not detailing my setup, it is Zwave JS + MQTT. I do use the retain discovery feature of Zwave JS, also before that was needed to run stable.
Since this is reproducible, maybe put a note into the doc that if people observe the problem with their configuration, they should restart OH, until this is fixed ? I do run fine now after the restart.