Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped working after update Home Assistant to 2024.11.0 #161

Closed
potat0man opened this issue Nov 6, 2024 · 13 comments
Closed

Stopped working after update Home Assistant to 2024.11.0 #161

potat0man opened this issue Nov 6, 2024 · 13 comments

Comments

@potat0man
Copy link

getting this error when checking YAML:

Platform error 'climate' from integration 'tasmota_irhvac' - No module named 'homeassistant.components.mqtt.mixins'

climate entoty is unavailable

@aldor443
Copy link

aldor443 commented Nov 6, 2024

Here it also stopped working 2024.11.0

@scargill
Copy link

scargill commented Nov 6, 2024

Mine has also stopped working completely since tonights upgrade to 2024.11.0 - Oh dear and it's cold out there... ideas?

@ewolvy
Copy link

ewolvy commented Nov 6, 2024

Add me to the list, just after updating. Guess I'll restore a backup of the previous version of home assistant until it can be fixed.

@ProjektBisarr
Copy link

Same error. Integration not working any more.

@andredts
Copy link

andredts commented Nov 7, 2024

+1 - Platform error 'climate' from integration 'tasmota_irhvac' - No module named 'homeassistant.components.mqtt.mixins'

@roabyd
Copy link

roabyd commented Nov 7, 2024

+1 following for a fix

@mateuszdrab
Copy link

mateuszdrab commented Nov 7, 2024

It's due to changes in the below, not sure if it's a HASS bug or this integration needs to be updated
home-assistant/core@1773f2a#diff-7d9bcd3ad6cf4c6eb1e88e9a6f89fc5de79697ffe22adf3cf4bbdfcf705d32f5L90

I changed MQTT_AVAILABILITY_SCHEMA to MQTT_ENTITY_COMMON_SCHEMA in https://github.com/hristo-atanasov/Tasmota-IRHVAC/blob/master/custom_components/tasmota_irhvac/climate.py and it works again but I'm not sure if this is the correct resolution, more of a workaround

@mojrs10
Copy link

mojrs10 commented Nov 7, 2024

Any info about this problem?
Is abowe fix solution to problem or something is broken on latest HA update?

EDIT:
This changes did not fix problem to me:
...
from homeassistant.components.mqtt.schemas import MQTT_ENTITY_COMMON_SCHEMA
except ImportError:
from homeassistant.components.mqtt.mixins import MQTT_ENTITY_COMMON_SCHEMA
...

My system:
Core 2024.11.0
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.0

@gjetchev
Copy link

gjetchev commented Nov 7, 2024

Replace in this line too and it work again

PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(MQTT_ENTITY_COMMON_SCHEMA.schema)

@mojrs10
Copy link

mojrs10 commented Nov 7, 2024

That is solve problem.
Tnx

@scargill
Copy link

scargill commented Nov 7, 2024

This isn't making sense to me - will this integration be updated to work with 24.11.0 or are users supposed to change code in the integration? Ok so mwantime I just changed all occurances of MQTT_AVAILABILITY_SCHEMA to MQTT_ENTITY_COMMON_SCHEMA - now works in 2024.11.0

@ewolvy
Copy link

ewolvy commented Nov 7, 2024

Thanks! It works for me too.

@hristo-atanasov
Copy link
Owner

Fix published - v2024.11.7

PostLogical pushed a commit to PostLogical/Tasmota-IRHVAC that referenced this issue Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests