homeassistant-vorwerk icon indicating copy to clipboard operation
homeassistant-vorwerk copied to clipboard

DEVICE_CLASS_BATTERY will be removed

Open jchristianj opened this issue 1 year ago • 0 comments

Hi,

please note the warning I received with latest HA Version:

Logger: homeassistant.components.sensor
Source: helpers/deprecation.py:205
Integration: Sensor (documentation, issues)
First occurred: 08:28:49 (2 occurrences)
Last logged: 08:28:49

DEVICE_CLASS_BATTERY was used from vorwerk, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please report it to the author of the 'vorwerk' custom integration

cheers, Christian

jchristianj avatar Jan 08 '24 08:01 jchristianj