With the latest major update I got a warning that I need to remove my MQTT hardcoded yaml references.
Most were easily removed but I had issues with my clothes washer state and garage door. The most concerning is my garage door. I can open/close it as a dumb switch but I don’t know how to configure it to monitor its current status.
I followed Dr Zzs video for this years ago for the install and its been working flawlessly:
I did use the helper to switch the switch type to cover which worked very well but how can i get a status sensor of if its open or closed?
This is the Device info (in the open state which is the same for the closed state):
I’m finding the same thing myself. For now the cover is still working so i have put it in the “too hard” basket. You are not alone my friend. I don’t have an answer yet though.
Thank you very much I will make this change when I get home from work tonight.
In my defense the error says my manual configured cover and move to the mqtt integration key. I read that as use the integration not yaml. I’m sorry and thanks again I really appreciate how great this community is.
Yes, pretty much everything in HA is configured via an “integration”.
Some integrations are configured via the UI and others are configured via yaml. And still others can be configured either way per the users preference.
And “key” indicates the way yaml is written. it uses key:value pairs. Which can be further broken down into lists (using the “-” to denote list members) and dictionaries. And even lists of dictionaries.
so when it said to move it to the mqtt key it meant to move it from the “sensor:” key to the “mqtt:” key.
there are no “keys” per se when moving to the UI. It’s just configured via UI fields and drop-downs.
This works for the cover and removes the error / repair notice but I have still lost the state of the garage door. I did rename the topic but I believe I updated it correctly because the button to open / close does work.
Use the button in order to keep code identing correct.
I don´t know what the problem could be, since the syntax is the same but “mqtt: > cover:” thing.
Mine worked out of the box, including states. Posting the correct identing may help.
I’m not really sure why just updating the config syntax would have broken that portion only. As far as I know nothing else changed.
But looking at the mqtt cover docs it says that the state_topic can only be “State topic can only read (open , opening , closed , closing or stopped ) state.”
So I’m not sure why it worked before and not now even tho your payloads weren’t correct even before.
First tho, I see a couple of things…
It’s been a while since I’ve messed with tasmota stuff but I tyhought the state topics all started with “stat/something…”. So again make sure the state topic is correct.
another thing is that the two cover topics for the before and after are different.
Since I changed the topic name, I needed to update more than just the configuration.yaml.
There were two references one in the customize.yaml and the other in groups.yaml
You guys have been awesome and supportive thank you so much. The main solution was posted by finity with a simple yaml code update.