Add tibber price sensor state class (#82189)
parent
5d78632d04
commit
ecb7509333
|
@ -350,6 +350,7 @@ class TibberSensorElPrice(TibberSensor):
|
|||
}
|
||||
self._attr_icon = ICON
|
||||
self._attr_name = f"Electricity price {self._home_name}"
|
||||
self._attr_state_class = SensorStateClass.MEASUREMENT
|
||||
self._attr_unique_id = self._tibber_home.home_id
|
||||
self._model = "Price Sensor"
|
||||
|
||||
|
|
Loading…
Reference in New Issue