You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just checked my HA logs and noticed multiple warnings about some constants becoming deprecated in version 2025.1. Obviously, not an issue anytime soon but just wanted to make note of it here. I haven't checked if other constants are in the same situation. These are just constants that HA complained about.
If it would help, I could write up some pull requests with the changes.
Thank you for the great work on this integration!
Environment
SmartRent Integration Version: v0.4.3
Core: 2024.1.2
Supervisor: 2023.12.0
HA OS: 11.4
Frontend: 20240104.0
Logs
2024-01-10 08:31:17.881 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.917 WARNING (MainThread) [homeassistant.components.lock] SUPPORT_OPEN was used from smartrent, this is a deprecated constant which will be removed in HA Core 2025.1. Use LockEntityFeature.OPEN instead, please create a bug report at https://github.com/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.921 WARNING (MainThread) [homeassistant.components.lock] SUPPORT_OPEN was used from smartrent, this is a deprecated constant which will be removed in HA Core 2025.1. Use LockEntityFeature.OPEN instead, please create a bug report at https://github.com/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.942 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_COOL was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.945 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.948 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT_COOL was used from smartrent, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT_COOL instead, please create a bug report at https://github.com/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.951 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.953 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_FAN_MODE was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.956 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.960 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
2024-01-10 08:31:17.964 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from smartrent, 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/ZacheryThomas/homeassistant-smartrent/issues
I just checked my HA logs and noticed multiple warnings about some constants becoming deprecated in version 2025.1. Obviously, not an issue anytime soon but just wanted to make note of it here. I haven't checked if other constants are in the same situation. These are just constants that HA complained about.
If it would help, I could write up some pull requests with the changes.
Thank you for the great work on this integration!
Environment
Logs
Relevant HA Core Changes
HA.const: home-assistant/core@fbcb31b
HA.components.climate: home-assistant/core@494a897
HA.components.lock: home-assistant/core@491a50a
The text was updated successfully, but these errors were encountered: