Skip to content

Commit

Permalink
Unit of Highest received CO2 value (Ppm) fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-dcs authored Oct 28, 2024
1 parent baf33d5 commit 1563229
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/ithodaalderop/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
UnitOfTime,
UnitOfPower,
UnitOfPressure,
CONCENTRATION_PARTS_PER_MILLION,
REVOLUTIONS_PER_MINUTE,
PERCENTAGE
)
Expand Down Expand Up @@ -266,7 +267,7 @@ class IthoBinarySensorEntityDescription(BinarySensorEntityDescription):
json_field="Highest received CO2 value (Ppm)",
key=MQTT_STATETOPIC["hru"],
translation_key="highest_received_co2_value",
native_unit_of_measurement=PERCENTAGE,
native_unit_of_measurement=CONCENTRATION_PARTS_PER_MILLION,
state_class=SensorStateClass.MEASUREMENT,
entity_registry_enabled_default=False
),
Expand Down

0 comments on commit 1563229

Please sign in to comment.