Skip to content

Conversation

@fhuebner
Copy link

@fhuebner fhuebner commented Aug 9, 2025

This pull request adds a SensorDeviceClass for many additional sensors.
Also using the predefined Units provided by Homeassistant now. (the only remaining custom unit is CARD_ID, is that not an integer or enum? Never used it, so no idea).
Changing the fallback values when generating the sensors to None for sensorUnit, sensorStateClass and sensorDeviceClass. This results in the sensor entity be ignored by HA.
Before this change i.e. the deviceClass of car_status where set to '' resulting in no history for this sensor.

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 this pull request may close these issues.

1 participant