Skip to content

Commit

Permalink
Add Highest received CO2 value (Ppm) Sensor (#15)
Browse files Browse the repository at this point in the history
* Add Highest received CO2 value (Ppm) Sensor

* Update README.md
  • Loading branch information
benjamin-dcs authored Oct 28, 2024
1 parent 71c953e commit baf33d5
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ This custom integration should become obsolete once full auto-discovery via the
|| Exhaust fan (RPM) ||
|| Exhaust temp (°C) ||
|| Global fault code | Description |
|| Highest received CO2 value (Ppm) (disabled by default) ||
|| Highest received RH value (%RH) (disabled by default) ||
|| Remaining override timer (Sec) ||
|| Supply fan (RPM) ||
|| Supply temp (°C) ||
Expand Down
16 changes: 16 additions & 0 deletions custom_components/ithodaalderop/definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,22 @@ class IthoBinarySensorEntityDescription(BinarySensorEntityDescription):
key=MQTT_STATETOPIC["hru"],
translation_key="global_fault_code"
),
IthoSensorEntityDescription(
json_field="Highest received CO2 value (Ppm)",
key=MQTT_STATETOPIC["hru"],
translation_key="highest_received_co2_value",
native_unit_of_measurement=PERCENTAGE,
state_class=SensorStateClass.MEASUREMENT,
entity_registry_enabled_default=False
),
IthoSensorEntityDescription(
json_field="Highest received RH value (%RH)",
key=MQTT_STATETOPIC["hru"],
translation_key="highest_received_rh_value",
native_unit_of_measurement=PERCENTAGE,
state_class=SensorStateClass.MEASUREMENT,
entity_registry_enabled_default=False
),
IthoSensorEntityDescription(
json_field="Remaining override timer (Sec)",
key=MQTT_STATETOPIC["hru"],
Expand Down
2 changes: 1 addition & 1 deletion custom_components/ithodaalderop/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"mqtt": ["ithohru/#"],
"requirements": [
],
"version": "1.2"
"version": "1.3"
}
3 changes: 3 additions & 0 deletions custom_components/ithodaalderop/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"heat_demand": {
"name": "Heat Demand Thermostat"
},
"highest_received_co2_value": {
"name": "Highest Received CO2 Value"
},
"highest_received_rh_value": {
"name": "Highest Received RH Value"
},
Expand Down
3 changes: 3 additions & 0 deletions custom_components/ithodaalderop/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@
"heat_demand": {
"name": "Warmtevraag Thermostaat"
},
"highest_received_co2_value": {
"name": "Hoogste CO2 waarde"
},
"highest_received_rh_value": {
"name": "Hoogste RH waarde"
},
Expand Down

0 comments on commit baf33d5

Please sign in to comment.