Add entity category to nut battery (#58363)

This commit is contained in:
J. Nick Koston 2021-10-25 00:42:15 -10:00 committed by GitHub
parent 07f268de1f
commit b09f6620eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -231,6 +231,7 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
native_unit_of_measurement=PERCENTAGE,
device_class=DEVICE_CLASS_BATTERY,
state_class=STATE_CLASS_MEASUREMENT,
entity_category=ENTITY_CATEGORY_DIAGNOSTIC,
),
"battery.charge.low": SensorEntityDescription(
key="battery.charge.low",