travisghansen / hass-opnsense

OPNsense integration with Home Assistant
214 stars 29 forks source link

STATE_CLASS_MEASUREMENT was used from opnsense, this is a deprecated constant #117

Closed mjpiratex closed 1 month ago

mjpiratex commented 8 months ago

Logger: homeassistant.components.sensor Source: helpers/deprecation.py:205 Integration: Sensor (documentation, issues) First occurred: 3:17:39 AM (4 occurrences) Last logged: 3:17:41 AM

STATE_CLASS_MEASUREMENT was used from opnsense, 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-opnsense/issues

alexdelprete commented 8 months ago

Duplicate of #111

See my comment here: https://github.com/travisghansen/hass-opnsense/issues/111#issuecomment-1881607874

Please close this issue.