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

DEVICE_CLASS_HUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1 #480

Open
aredon opened this issue Apr 1, 2024 · 9 comments · May be fixed by #420
Labels
bug Something isn't working

Comments

@aredon
Copy link

aredon commented Apr 1, 2024

HA core version

2024.3.3

Intergration version

0.3.18

Device type and model

Midea Cube

Used App

I loaded it in multiple and don't recall.

The description of problem

Logger: homeassistant.components.humidifier.const
Source: helpers/deprecation.py:205
integration: Humidifier (documentation, issues)
First occurred: 9:19:26 AM (3 occurrences)
Last logged: 9:19:26 AM

DEVICE_CLASS_HUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierDeviceClass.HUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
DEVICE_CLASS_DEHUMIDIFIER was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierDeviceClass.DEHUMIDIFIER instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
SUPPORT_MODES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HumidifierEntityFeature.MODES instead, please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues

The logs

No response

@aredon aredon added the bug Something isn't working label Apr 1, 2024
@rokam
Copy link
Contributor

rokam commented Apr 5, 2024

#420 should fix this

@CyrielRct
Copy link

If it help I just clone this repo and merge all pending PR fixing issues. This is only during the time the maintainer will merge following PR in this repository :

Waiting this time you can re-install the integration using this repository : https://github.com/CyrielRct/midea_ac_lan

To do that go to HACS - Integration - and add the repository. It will show you version 0.3.24

@sanderlv
Copy link

Hi @georgezhao2010 any option to merge this in yours? please?

@rokam
Copy link
Contributor

rokam commented May 26, 2024

This repo is abandoned.

@sanderlv
Copy link

Thats not good, whats the succesor?

@rokam
Copy link
Contributor

rokam commented May 26, 2024

@sanderlv
Copy link

sanderlv commented May 26, 2024

That's not the one coming up in HACS...

EDIT, it comes up now.

But this needs a complete rework of all devices :-(

@rokam
Copy link
Contributor

rokam commented May 26, 2024

Remove the old one first then add the new integration

@sanderlv
Copy link

Fixed it. But removing is not possible without removing all devices first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants