Skip to content

Commit

Permalink
Merge pull request BenPru#219 from steffenweber/patch-1
Browse files Browse the repository at this point in the history
Flow temperature sensors: add missing state class to enable statistics
  • Loading branch information
BenPru authored Dec 18, 2023
2 parents 183cd8d + 1c0ba76 commit ab3888a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/luxtronik/sensor_entities_predefined.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@
device_key=DeviceKey.heating,
entity_category=None,
icon="mdi:waves-arrow-right",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.TEMPERATURE,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
extra_attributes=[
Expand All @@ -467,6 +468,7 @@
device_key=DeviceKey.heating,
entity_category=None,
icon="mdi:waves-arrow-left",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.TEMPERATURE,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
),
Expand All @@ -476,6 +478,7 @@
device_key=DeviceKey.heating,
entity_category=None,
icon="mdi:thermometer",
state_class=SensorStateClass.MEASUREMENT,
device_class=SensorDeviceClass.TEMPERATURE,
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
extra_attributes=[
Expand Down

0 comments on commit ab3888a

Please sign in to comment.