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 constants which will be removed in HA Core 2025.1 #178

Open
firstof9 opened this issue Dec 28, 2023 · 0 comments
Open

[Bug] Deprecated constants which will be removed in HA Core 2025.1 #178

firstof9 opened this issue Dec 28, 2023 · 0 comments

Comments

@firstof9
Copy link

Example log output:

2023-12-28 10:19:03.866 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from pfsense, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/travisghansen/hass-pfsense/issues
2023-12-28 10:19:03.868 WARNING (MainThread) [homeassistant.components.sensor] STATE_CLASS_MEASUREMENT was used from pfsense, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorStateClass.MEASUREMENT instead, please create a bug report at https://github.com/travisghansen/hass-pfsense/issues
2023-12-28 10:19:03.870 WARNING (MainThread) [homeassistant.const] DATA_BYTES was used from pfsense, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfInformation.BYTES instead, please create a bug report at https://github.com/travisghansen/hass-pfsense/issues
2023-12-28 10:19:03.871 WARNING (MainThread) [homeassistant.const] FREQUENCY_HERTZ was used from pfsense, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ instead, please create a bug report at https://github.com/travisghansen/hass-pfsense/issues
2023-12-28 10:19:03.873 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from pfsense, 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/travisghansen/hass-pfsense/issues
2023-12-28 10:19:03.876 WARNING (MainThread) [homeassistant.const] TIME_SECONDS was used from pfsense, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/travisghansen/hass-pfsense/issues

Should be a pretty simple fix.

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

Successfully merging a pull request may close this issue.

1 participant