Open skyhisi opened 3 years ago
mqtt source mqtt issues mqtt recent changes (message by IssueLinks)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I don't have an MQTT setup here, but I'm curious to know if any of the recent changes in thermostat
have had any effect on this.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Operating environment/Installation (Hass.io/Docker/pip/etc.):
Installed via pip in virtual env with Python: 3.9.2 esphome 1.16.2 platformio 5.0.4
ESP (ESP32/ESP8266, Board/Sonoff):
ESP8266
ESPHome version (latest production, beta, dev branch)
1.16.2
Affected component:
Issue seen when combining the Thermostat and MQTT components:
Description of problem: When discovery is enabled for the Thermostat, the topic "
homeassistant/climate/DEV_NAME/COMPONENT_ID/config
" is repeatedly published at a rate of about 20 times per second.This behaviour stops when
discovery: False
is set on the component (as no discovery messages are published).Problem-relevant YAML-configuration entries:
Logs (if applicable):
Nothing looks amiss in the ESPHome logs, when connected to the MQTT broker though, the topic is repeatedly generated:
Additional information and things you've tried: As a workaround, disabling discovery at a global or component level will prevent the topic being published.
Discovery of other components appears to publishing as normal.