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

Entity unavailable after Homeassistant Core Update 2025.1.0 #35

Open
jmigueloliveira opened this issue Jan 4, 2025 · 15 comments
Open

Comments

@jmigueloliveira
Copy link

jmigueloliveira commented Jan 4, 2025

After homeassistant update, the device is not available.

Platform error 'climate' from integration 'miheater' - cannot import name 'HVAC_MODE_HEAT' from 'homeassistant.components.climate.const' (/usr/src/homeassistant/homeassistant/components/climate/const.py)

@hoppel118
Copy link

same here

@brunobalas
Copy link

Same

@ajmartin81
Copy link

Same problem here

@julianpas
Copy link

Looks like there is already a pull request for a fix for that since May 24 so hopefully it won't take too long to fix it.

@mikegodin23
Copy link

Same here. Waiting...

@aritzurruela
Copy link

Same here. Had to roll back to 2024.12.5

@aritzurruela
Copy link

Anyone used the rapejim fork? Does it solve the issue?

https://github.com/rapejim/homeassistant-mi-heater

@jonicunha
Copy link

jonicunha commented Jan 6, 2025

Anyone used the rapejim fork? Does it solve the issue?

https://github.com/rapejim/homeassistant-mi-heater

Yes, I can confirm that it is working. Although it was working correctly I was getting some log errors, so I did a mix between ee002217 and rapejim fork.

You can try it If you want, but as said before, the rapejim fork is working good

miheater.zip

@hpvos71
Copy link

hpvos71 commented Jan 7, 2025

From the Logs of Home assistant :

Logger: homeassistant.components.climate.const
Bron: helpers/deprecation.py:222
integratie: Klimaat (documentatie, problemen)
Eerst voorgekomen: 08:50:20 (5 gebeurtenissen)
Laatst gelogd: 08:50:20

HVAC_MODE_HEAT was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'miheater' custom integration
HVAC_MODE_COOL was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please report it to the author of the 'miheater' custom integration
HVAC_MODE_OFF was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'miheater' custom integration
SUPPORT_TARGET_TEMPERATURE was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'miheater' custom integration
SUPPORT_FAN_MODE was used from miheater, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please report it to the author of the 'miheater' custom integration

@mikegodin23
Copy link

mikegodin23 commented Jan 7, 2025

Hi.
I made it by installing
Xiaomi Miot For HomeAssistant
from HACS and it works great!
Thank yyou for your help.

@BigWinnie
Copy link

Hi. I made it by installing Xiaomi Miot For HomeAssistant from HACS and it works great! Thank yyou for your help.

Hi. That means, the original content from the config.yaml for the heater (the ee02217 integration) can be removed? So if I installed the Miiot integration (I've done it), from now it will work with this, right?

@mikegodin23
Copy link

Hi. I made it by installing Xiaomi Miot For HomeAssistant from HACS and it works great! Thank yyou for your help.

Hi. That means, the original content from the config.yaml for the heater (the ee02217 integration) can be removed? So if I installed the Miiot integration (I've done it), from now it will work with this, right?

Hi.
I removed it and also removed all Xiamoi HACS also.
Apparently it's working...

@hoppel118
Copy link

hoppel118 commented Jan 7, 2025

Hi. I made it by installing Xiaomi Miot For HomeAssistant from HACS and it works great! Thank yyou for your help.

Yes, this works here, too. Super easy configuration via web ui:

https://github.com/al-one/hass-xiaomi-miot

Thanks Hoppel

@aritzurruela
Copy link

What about the new official xiaomi integration. Anyone tested it?

https://github.com/XiaoMi/ha_xiaomi_home

I am using the rapejim fork without problems but haven't updated to HA 2025 yet.

@jmigueloliveira
Copy link
Author

Hi!

https://github.com/al-one/hass-xiaomi-miot

Tested and working!

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

10 participants