Closed Lauriz7 closed 2 years ago
Can confirm. Please fix this issue ASAP, I am very cold.
It looks like this issue was caused by mqtt.async_publish
turning into a coroutine. It needs to be awaited or otherwise dealt with as a coroutine rather than a normal function call.
Also confirming I have the same issue since upgrading to 2021.12...
I have (at least as far as I can tell) fixed the issue by changing line 1006 of climate.py to self.hass.async_create_task(mqtt.async_publish(self.hass, self.topic, payload))
I solved it by making the following changes in my repository.
https://github.com/nao-pon/Tasmota-IRHVAC/commit/f968c9200d087f7237935d2bedf362fb5978a7f6
also work's changing the last line of climate.py mqtt.async_publish(self.hass, self.topic, payload) --> mqtt.publish(self.hass, self.topic, payload)
Ok, I see there is a problem .. I'll read the change log .. And I have to update to the newest HA version too .. :)
also work's changing the last line of climate.py mqtt.async_publish(self.hass, self.topic, payload) --> mqtt.publish(self.hass, self.topic, payload)
can confirm this works for me too, thanks for the fix. This appears to be the cleanest way to fix the problem
Ok, I see there is a problem .. I'll read the change log .. And I have to update to the newest HA version too .. :)
Can I also ask you to include fix AC power off in the new version? I think it was relevant for Panasonic/Daikin AC's
also work's changing the last line of climate.py mqtt.async_publish(self.hass, self.topic, payload) --> mqtt.publish(self.hass, self.topic, payload)
Confirmed this works here too! Thanks
I solved it by making the following changes in my repository.
The new version fixes the problem. Thanks to @nao-pon! I want to apologize to everyone experiencing problems because of my slow fixes.
I will soon create a PR that may solve some of the issues reported in Issues of this repository. I would like to ask everyone to test.
Not working anymore, mqtt issues seen in log.
https://pastebin.com/56gh0zWW (log) https://pastebin.com/dxdLBBrw (yaml)
Running Tasmota-ir 10.0