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

fix(climate): deprecate aux_heating feature #486

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rokam
Copy link
Contributor

@rokam rokam commented Apr 4, 2024

Removed deprecated feature aux_heating

Fixes: #483
Fixes: #484
Fixes: #487
Fixes: #488
Fixes: #490
Fixes: #492
Fixes: #495
Fixes: #496
Fixes: #498

@MarkHofmann11
Copy link

I can validate this does work, but I don't believe this should be removed:

ClimateEntityFeature.SWING_MODE | \

My AC uses that feature (horizonal and vertical vent swings) and that can stay in with no issue.

Thanks!

@rokam
Copy link
Contributor Author

rokam commented Apr 4, 2024

I can validate this does work, but I don't believe this should be removed:

ClimateEntityFeature.SWING_MODE | \

My AC uses that feature (horizonal and vertical vent swings) and that can stay in with no issue.

Thanks!

Swing mode remains, I did only remove the | \

@attilaersek
Copy link

Afaik current master was reported as broken in #420. So it would be great if this PR is merged together with that. But that's just my two cents! Thank you for your great (and more importantly, quick) work!

@Rob-in-Molyvos
Copy link

I am new to HA and my current skill and knowledge level is very basic, but I am trying to learn. What do I need to do to update the integration?

Please be gentle!

@damarges
Copy link

damarges commented Apr 5, 2024

I am new to HA and my current skill and knowledge level is very basic, but I am trying to learn. What do I need to do to update the integration?

Please be gentle!

Same Here. How to get this Update without manually editing Files?

@rokam
Copy link
Contributor Author

rokam commented Apr 5, 2024

You don´t need to do it. This should be merged by October. Right now the integration is supposed to work the same way.

@erikgieseler
Copy link

Doesn't it make more sense to convert this into a switch and a sensor instead of simply removing the function?
This is suggested here, for example: home-assistant/architecture#932

@rokam
Copy link
Contributor Author

rokam commented Apr 5, 2024

There is already a switch for that.

ACAttributes.aux_heating: {
"type": Platform.SWITCH,
"name": "Aux Heating",
"icon": "mdi:heat-wave"
},

@CyrielRct
Copy link

CyrielRct commented Apr 5, 2024

I tried your fix and it's actually working, I still have a lot of deprecation warning :

2024-04-05 19:28:31.227 WARNING (ImportExecutor_0) [homeassistant.const] TIME_DAYS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.DAYS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.233 WARNING (ImportExecutor_0) [homeassistant.const] TIME_HOURS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.240 WARNING (ImportExecutor_0) [homeassistant.const] TIME_MINUTES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.246 WARNING (ImportExecutor_0) [homeassistant.const] TIME_SECONDS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.252 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.258 WARNING (ImportExecutor_0) [homeassistant.const] POWER_WATT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.264 WARNING (ImportExecutor_0) [homeassistant.const] VOLUME_LITERS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.271 WARNING (ImportExecutor_0) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.346 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-04-05 19:28:38.865 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.874 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_COOL was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.881 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.889 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.899 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.907 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.915 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_OFF was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.925 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.935 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.942 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.952 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.960 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.968 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.975 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.982 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.990 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_COOL was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.997 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.011 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.018 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.025 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.049 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_OFF was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.056 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.065 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.077 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.084 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.091 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.100 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.109 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.117 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.128 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.135 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.142 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.156 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.163 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.171 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.179 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.187 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.197 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.COOLING instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.205 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.DRYING instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.213 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.225 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_FAN was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.FAN instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.234 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.242 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.250 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.260 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.268 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.277 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.284 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.296 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.320 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.329 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.336 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_AWAY_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.AWAY_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.347 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.355 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.363 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_AWAY_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.AWAY_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.373 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.150633093371868_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-04-05 19:28:39.374 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.150633093371868_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-04-05 19:28:39.374 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.150633093371868_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>) implements HVACMode(s): off, auto, cool, dry, heat, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-04-05 19:28:39.378 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.412 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.430 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.439 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_DIRECTION was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.463 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.472 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.479 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.491 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_DIRECTION was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.503 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.528 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.536 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.548 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.556 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.564 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.574 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.581 WARNING (ImportExecutor_0) [homeassistant.components.humidifier.const] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.589 WARNING (ImportExecutor_0) [homeassistant.components.humidifier.const] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.597 WARNING (ImportExecutor_0) [homeassistant.components.humidifier.const] 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 report it to the author of the 'midea_ac_lan' custom integration

@rokam
Copy link
Contributor Author

rokam commented Apr 6, 2024

I tried your fix and it's actually working, I still have a lot of deprecation warning :

2024-04-05 19:28:31.227 WARNING (ImportExecutor_0) [homeassistant.const] TIME_DAYS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.DAYS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.233 WARNING (ImportExecutor_0) [homeassistant.const] TIME_HOURS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.HOURS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.240 WARNING (ImportExecutor_0) [homeassistant.const] TIME_MINUTES was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.MINUTES instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.246 WARNING (ImportExecutor_0) [homeassistant.const] TIME_SECONDS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.252 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.258 WARNING (ImportExecutor_0) [homeassistant.const] POWER_WATT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.264 WARNING (ImportExecutor_0) [homeassistant.const] VOLUME_LITERS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfVolume.LITERS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:31.271 WARNING (ImportExecutor_0) [homeassistant.const] ENERGY_KILO_WATT_HOUR was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.346 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues
2024-04-05 19:28:38.865 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.874 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_COOL was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.881 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.889 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.899 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.907 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.915 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_OFF was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.925 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.935 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.942 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.952 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.960 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.968 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.975 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.982 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:38.990 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_COOL was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:38.997 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.011 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.018 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.025 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.049 WARNING (ImportExecutor_0) [homeassistant.components.climate] HVAC_MODE_OFF was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.056 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.065 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.077 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.084 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.091 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.100 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.109 WARNING (ImportExecutor_0) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.117 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.128 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.135 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.142 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.156 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.163 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.DRY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.171 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.179 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.187 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.197 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_COOL was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.COOLING instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.205 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_DRY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.DRYING instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.213 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.225 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_FAN was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.FAN instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.234 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.242 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.250 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_HUMIDITY was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_HUMIDITY instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.260 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from midea_ac_lan, 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 'midea_ac_lan' custom integration
2024-04-05 19:28:39.268 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.277 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_SWING_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.SWING_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.284 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_AUX_HEAT was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.AUX_HEAT instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.296 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.320 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.329 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.336 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_AWAY_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.AWAY_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.347 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_TARGET_TEMPERATURE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.355 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_OPERATION_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.OPERATION_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.363 WARNING (ImportExecutor_0) [homeassistant.components.water_heater] SUPPORT_AWAY_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use WaterHeaterEntityFeature.AWAY_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.373 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.150633093371868_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>) does not set ClimateEntityFeature.TURN_OFF but implements the turn_off method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-04-05 19:28:39.374 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.150633093371868_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>) does not set ClimateEntityFeature.TURN_ON but implements the turn_on method. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-04-05 19:28:39.374 WARNING (MainThread) [homeassistant.components.climate] Entity midea_ac_lan.150633093371868_climate (<class 'custom_components.midea_ac_lan.climate.MideaACClimate'>) implements HVACMode(s): off, auto, cool, dry, heat, fan_only and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/georgezhao2010/midea_ac_lan/issues
2024-04-05 19:28:39.378 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.412 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.430 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.439 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_DIRECTION was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.463 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.472 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.479 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.491 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_DIRECTION was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.503 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_PRESET_MODE was used from midea_ac_lan, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.PRESET_MODE instead, please report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.528 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.536 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.548 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.556 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.564 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.574 WARNING (ImportExecutor_0) [homeassistant.components.humidifier] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.581 WARNING (ImportExecutor_0) [homeassistant.components.humidifier.const] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.589 WARNING (ImportExecutor_0) [homeassistant.components.humidifier.const] 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 report it to the author of the 'midea_ac_lan' custom integration
2024-04-05 19:28:39.597 WARNING (ImportExecutor_0) [homeassistant.components.humidifier.const] 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 report it to the author of the 'midea_ac_lan' custom integration

#420 fixes those.

Necroneco added a commit to Necroneco/midea_ac_lan that referenced this pull request Apr 6, 2024
# Conflicts:
#	custom_components/midea_ac_lan/climate.py
Necroneco added a commit to Necroneco/midea_ac_lan that referenced this pull request Apr 6, 2024
# Conflicts:
#	custom_components/midea_ac_lan/climate.py
@CyrielRct
Copy link

Will try it. Do you know if the maintainer is still active to merge those PR ?

@rokam
Copy link
Contributor Author

rokam commented Apr 8, 2024

Will try it. Do you know if the maintainer is still active to merge those PR ?

i dunno

@wuwentao
Copy link

as current repo is not active, just add comments in all PRs,

forked new repo is :
https://github.com/wuwentao/midea_ac_lan

PR is welcome

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment