Closed slashbeast closed 1 month ago
Hey there @emontnemery, mind taking a look at this issue as it has been labeled with an integration (tasmota
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
tasmota documentation tasmota source (message by IssueLinks)
After an update the names of the topics change, as shown in the image. you have to update them and enjoy
@lucasdellasantina Can you share some more details what you mean about the names of the topics? How is that related to the need to restart entire HA for it to pick up controls on Tasmota devices? A Tasmota device discovered on a new version lack controls until after HA is restarted.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
Newly discovered Tasmota devices though MQTT does not show controls entities up until home assistant is restarted.
Steps to reproduce:
docker compose restart homeassistant
)I have looked more into the MQTT and the discovery config topic does not change, meaning before and after restart of HA the content is the same. Also restarting the Tasmota device itself does not bring the controls, only restart of entire HA does.
While searching the web I found a few other reports of controls missing, with each having different solution like changing MQTT topic prefix and others replying that this did not worked for them unlike OP. What I suspect is happening here is that in all those cases between the Tasmota controls being missing and the problem being resovled for them the users did in fact restarted HA, and this is how they got it working, not what they claim in there.
Example cases:
What version of Home Assistant Core has the issue?
core-2024.3.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Tasmota
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tasmota/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
I am running HomeAssistant as container and Mosquito as MQTT server, both with network of
host
type which makes container do not create its own network and therefore share loopback too, meaning HA can connect to MQTT over 127.0.0.1 IP.The docker compose