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

Deprecation warnings with 2024.1.0 #42

Open
sweharris opened this issue Jan 4, 2024 · 5 comments
Open

Deprecation warnings with 2024.1.0 #42

sweharris opened this issue Jan 4, 2024 · 5 comments

Comments

@sweharris
Copy link

I suspect you're aware of this, but I thought I'd raise the issue just so it's documented.

After an update to 2024.1.0

2024-01-03 20:08:05.359 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.361 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.COOL instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.364 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_FAN_ONLY was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.FAN_ONLY instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.366 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.369 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.FAN_MODE instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.371 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.374 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.376 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from frigidaire, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.405 WARNING (MainThread) [homeassistant.components.humidifier.const] DEVICE_CLASS_DEHUMIDIFIER was used from frigidaire, 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/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:05.407 WARNING (MainThread) [homeassistant.components.humidifier.const] SUPPORT_MODES was used from frigidaire, 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/bm1549/home-assistant-frigidaire/issues
2024-01-03 20:08:09.845 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.frigidaire.climate.FrigidaireClimate'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <ClimateEntityFeature.TARGET_TEMPERATURE|FAN_MODE: 9>, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
@ha-elguano
Copy link

I'm not sure if this is related to @sweharris's comment above, but after the last update to Core 2024.1, my dehumidifier entity no longer shows up: Status reads: "This entity is no longer being provided by the frigidaire integration. If the entity is no longer in use, delete it in settings."

Oddly enough, my automations that turn the dehumidifier on and off still run, even if I can't control the unit through the UI or see status. Presumably calls to the Frigidaire cloud server are still being passed through correctly.

@ha-elguano
Copy link

Sooo....it's working again for me, after HA Core 2024.1.1 updated this morning :)

@jhemak
Copy link

jhemak commented Jan 9, 2024

Sharing this as well, in case it's helpful:

WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.frigidaire.humidifier.FrigidaireDehumidifier'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <HumidifierEntityFeature.MODES: 1>, please create a bug report at https://github.com/bm1549/home-assistant-frigidaire/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation

@bm1549 bm1549 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2024
@jhemak
Copy link

jhemak commented Oct 5, 2024

Hi @bm1549 - can you clarify why this is not planned? Are you no longer supporting the dehumidifier through this integration? Just wanted to confirm one way or another since the warnings are still present and 2025.1 is coming up soon. Thanks!

@bm1549 bm1549 reopened this Oct 5, 2024
@bm1549
Copy link
Owner

bm1549 commented Oct 5, 2024

I must have mistaken this. Re-opened the issue

Unfortunately, I do not own a dehumidifier to test so someone else would need to make the necessary changes here

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

4 participants