mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 05:47:10 +00:00
Add entity category to nut battery (#58363)
This commit is contained in:
parent
07f268de1f
commit
b09f6620eb
@ -231,6 +231,7 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
|
|||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
device_class=DEVICE_CLASS_BATTERY,
|
device_class=DEVICE_CLASS_BATTERY,
|
||||||
state_class=STATE_CLASS_MEASUREMENT,
|
state_class=STATE_CLASS_MEASUREMENT,
|
||||||
|
entity_category=ENTITY_CATEGORY_DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
"battery.charge.low": SensorEntityDescription(
|
"battery.charge.low": SensorEntityDescription(
|
||||||
key="battery.charge.low",
|
key="battery.charge.low",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user