When that happens, it usually means that the Shelly is not available to HA.
Either off line or not configured correctly.
Get a copy of MQT Lens from the chrome app store and see if you can publish and subscribe to it using the topics in your config.
You can configure as many switches you like and theyâll show up and operate just how you are experiencing, without them physically existing. Chances are thatâs what youâve got going on.
Thanks @ashscott
I use MQTT.fx and i could subscribe to shellies/shelly1-1CF901/relay/0/command, but iâm new with mqtt and i doinât know how to properly check (publish?) if the mqtt client of the shelly is working fine.
Will try with mqttlens when i get back home and post a screenshot
Do I need to add the âshellies/shellyswitch-5B2604/onlineâ to the âWill Topicâ in the Shelly configuration WebUI? Obviously I would change the detail of the center section to my own details (in my case âshellies/shelly1-32CADF/onlineâ).
What then do I put in the âWill Messageâ section?
Could you post a screenshot of your webui showing that section of the config?
My shelly 1 default topics are in the form of âshellies/shelly1-32CADF/relay/0â, âshellies/shelly1-32CADF/relay/0/commandâ and âshellies/shelly1-32CADF/onlineâ. I had that part correct so it was the proper âWill Messageâ that was tripping me up.
where did you find the documentation for that being an option?
itâs not listed in the options on the component page for the MQTT switch. I havenât really looked anywhere else aside from an unfruitful quick google searchâŠ
(and yes, I caught the mis-spelling and searched for âunique_idâ)
I added this option and information about it to the documentation a few months ago. The documentation changed when the devices registry was added. You can use unique_id with all MQTT entities (switch/light/sensor/fan/binary_sensor/etc.)