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

[Bug] deprecated constant - many warnings #536

Closed
glyndon opened this issue Jan 4, 2024 · 4 comments
Closed

[Bug] deprecated constant - many warnings #536

glyndon opened this issue Jan 4, 2024 · 4 comments
Labels
bug Something isn't working Stale

Comments

@glyndon
Copy link

glyndon commented Jan 4, 2024

Describe the bug
HA Logs receiving warnings about deprecated constants from wyzeapi integr.

To Reproduce
View HA log

Expected behavior
No warnings of this type

System configuration
System: core
HA Version: 2024.1.0
WyzeApi Version: 1.23

home-assistant.log

2024-01-04 08:06:49.780 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.787 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.794 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.800 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_TARGET_TEMPERATURE_RANGE was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.807 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_PRESET_MODE was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.814 WARNING (MainThread) [homeassistant.components.climate] SUPPORT_FAN_MODE was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.820 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.827 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.833 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.840 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.846 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.853 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.859 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_COOL was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.COOLING instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.866 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_OFF was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.OFF instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.874 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:49.890 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from wyzeapi, 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/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.497 WARNING (MainThread) [homeassistant.components.siren] SUPPORT_TURN_OFF was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SirenEntityFeature.TURN_OFF instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.504 WARNING (MainThread) [homeassistant.components.siren] SUPPORT_TURN_ON was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SirenEntityFeature.TURN_ON instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.511 WARNING (MainThread) [homeassistant.components.siren] SUPPORT_TURN_OFF was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SirenEntityFeature.TURN_OFF instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.518 WARNING (MainThread) [homeassistant.components.siren] SUPPORT_TURN_ON was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use SirenEntityFeature.TURN_ON instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.529 WARNING (MainThread) [homeassistant.components.alarm_control_panel] SUPPORT_ALARM_ARM_HOME was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_HOME instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.535 WARNING (MainThread) [homeassistant.components.alarm_control_panel] SUPPORT_ALARM_ARM_AWAY was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_AWAY instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.542 WARNING (MainThread) [homeassistant.components.alarm_control_panel] SUPPORT_ALARM_ARM_HOME was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_HOME instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:50.548 WARNING (MainThread) [homeassistant.components.alarm_control_panel] SUPPORT_ALARM_ARM_AWAY was used from wyzeapi, this is a deprecated constant which will be removed in HA Core 2025.1. Use AlarmControlPanelEntityFeature.ARM_AWAY instead, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues
2024-01-04 08:06:52.995 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.wyzeapi.siren.WyzeCameraSiren'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <SirenEntityFeature.TURN_ON|TURN_OFF: 3>, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
2024-01-04 08:06:52.996 WARNING (MainThread) [homeassistant.helpers.entity] Entity None (<class 'custom_components.wyzeapi.siren.WyzeCameraSiren'>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <SirenEntityFeature.TURN_ON|TURN_OFF: 3>, please create a bug report at https://github.com/SecKatie/ha-wyzeapi/issues and reference https://developers.home-assistant.io/blog/2023/12/28/support-feature-magic-numbers-deprecation
@glyndon glyndon added the bug Something isn't working label Jan 4, 2024
@Czanron
Copy link

Czanron commented Jan 7, 2024

Running 2024.1.2 core with 0.1.23 WyzeApi and receiving similar warnings.

Seems to be an issue across the board for a variety of integrations.

@TEfjLONjDON
Copy link

Me too.many errors

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@glyndon
Copy link
Author

glyndon commented Feb 10, 2024

Closing due to action taken by owner/team to rectify.

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

No branches or pull requests

3 participants