Add MEASUREMENT state class to Sense Voltage sensors (#93044)
Add MEASUREMENT to Voltage sensors
This commit is contained in:
parent
ef887e529f
commit
77f99e4162
1 changed files with 1 additions and 0 deletions
|
@ -210,6 +210,7 @@ class SenseVoltageSensor(SensorEntity):
|
|||
"""Implementation of a Sense energy voltage sensor."""
|
||||
|
||||
_attr_device_class = SensorDeviceClass.VOLTAGE
|
||||
_attr_state_class = SensorStateClass.MEASUREMENT
|
||||
_attr_native_unit_of_measurement = UnitOfElectricPotential.VOLT
|
||||
_attr_attribution = ATTRIBUTION
|
||||
_attr_should_poll = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue