Skip to content

[Bug]: smart_feeder_desiccant_remaining_days is using native unit of measurement 'None' which is not a valid unit for the device class ('duration') #132

Description

@bakerkj

What happened ?

I am getting the following error for the desiccant remaining days sensor

2025-09-03 18:02:16.966 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.xxxx_smart_feeder_desiccant_remaining_days (<class 'custom_components.petlibro.sensor.PetLibroSensorEntity'>) is using native unit of measurement 'None' which is not a valid unit for the device class ('duration') it is using; expected one of ['min', 's', 'd', 'h', 'ms', 'μs']; 

Relevant log output

.

Metadata

Metadata

Labels

BugSomething isn't workingCompletedCompleted tasks

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions