mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Add state class to powerwall charge sensor (#64939)
This commit is contained in:
parent
87d1478ca4
commit
8593d07883
@ -93,6 +93,7 @@ class PowerWallChargeSensor(PowerWallEntity, SensorEntity):
|
||||
"""Representation of an Powerwall charge sensor."""
|
||||
|
||||
_attr_name = "Powerwall Charge"
|
||||
_attr_state_class = SensorStateClass.MEASUREMENT
|
||||
_attr_native_unit_of_measurement = PERCENTAGE
|
||||
_attr_device_class = SensorDeviceClass.BATTERY
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user