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

HA 2025.1 beta: this is a deprecated constant which will be removed in HA Core 2026.1 #2190

Open
hmmbob opened this issue Dec 24, 2024 · 3 comments · Fixed by #2280
Open

Comments

@hmmbob
Copy link
Contributor

hmmbob commented Dec 24, 2024

Seeing some new warnings about deprecated constants:

ATTR_COLOR_TEMP was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use kelvin equivalent (ATTR_COLOR_TEMP_KELVIN) instead, please report it to the author of the 'xiaomi_miot' custom integration

See: https://developers.home-assistant.io/blog/2024/12/14/kelvin-preferred-color-temperature-unit/

STATE_CLEANING was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_DOCKED was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_RETURNING was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_ERROR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'xiaomi_miot' custom integration

See: https://developers.home-assistant.io/blog/2024/12/08/new-vacuum-state-property/

@al-one al-one changed the title HA 2025.1 beta: ATTR_COLOR_TEMP / STATE_CLEANING / STATE_DOCKED / STATE_RETURNING / STATE_ERROR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1 HA 2025.1 beta: this is a deprecated constant which will be removed in HA Core 2026.1 Dec 28, 2024
@garry0garry
Copy link

garry0garry commented Jan 17, 2025

Home Assistant 2025.1.2

Logger: homeassistant.components.vacuum
Source: helpers/deprecation.py:222
integration: Vacuum (documentation, issues)
First occurred: 9:02:35 AM (10 occurrences)
Last logged: 9:02:40 AM

STATE_CLEANING was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.CLEANING instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_DOCKED was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.DOCKED instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_RETURNING was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.RETURNING instead, please report it to the author of the 'xiaomi_miot' custom integration
STATE_ERROR was used from xiaomi_miot, this is a deprecated constant which will be removed in HA Core 2026.1. Use VacuumActivity.ERROR instead, please report it to the author of the 'xiaomi_miot' custom integration

@hmmbob
Copy link
Contributor Author

hmmbob commented Feb 4, 2025

The vacuum related ones are fixed by #2280

The ATTR_COLOR_TEMP warning is still valid.

@hmmbob
Copy link
Contributor Author

hmmbob commented Feb 11, 2025

The warning about ATTR_COLOR_TEMP is still present after upgrading to 1.0.9

al-one added a commit that referenced this issue Feb 14, 2025
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

Successfully merging a pull request may close this issue.

2 participants