hristo-atanasov/Tasmota-IRHVAC

Breaking change in 2024.6.x? "cannot import name 'MqttAvailability'"

maddiebeaton opened this issue · 2 comments

I just upgraded from 2024.5.5 to 2024.6.2 and the climate config is no longer loading. Checking the configuration gets me this error:

Platform error 'climate' from integration 'tasmota_irhvac' - cannot import name 'MqttAvailability' from 'homeassistant.components.mqtt.mixins' (/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py)
Platform error 'climate' from integration 'tasmota_irhvac' - cannot import name 'MqttAvailability' from 'homeassistant.components.mqtt.mixins' (/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py)
Platform error 'climate' from integration 'tasmota_irhvac' - cannot import name 'MqttAvailability' from 'homeassistant.components.mqtt.mixins' (/usr/src/homeassistant/homeassistant/components/mqtt/mixins.py)

The release notes mention a backwards-incompatible change with MQTT involving climate items, but I'm not sure if it is related.

I can confirm that downgrading back to 2024.5.5 solves the issue.

Thanks!

I faced the same issue and inspired by #141, I downloaded the latest release for version 2024.6.1:

https://github.com/hristo-atanasov/Tasmota-IRHVAC/releases/tag/v2024.6.1

Then reboot and it worked as before!

Ah thanks! It seems I never had this installed through HACS so I didn't get an update for it. Will fix on my end, sorry for the duplicate issue : )