Add electrolyzer data to Aseko Pool Live (#127249)

This commit is contained in:
hopkins-tk 2024-10-02 14:24:39 +02:00 committed by GitHub
parent 273795b025
commit 98a8430f26
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 13 additions and 0 deletions

View File

@ -9,6 +9,9 @@
"air_temperature": {
"default": "mdi:thermometer-lines"
},
"electrolyzer": {
"default": "mdi:lightning-bolt"
},
"free_chlorine": {
"default": "mdi:pool"
},

View File

@ -38,6 +38,13 @@ SENSORS: list[AsekoSensorEntityDescription] = [
state_class=SensorStateClass.MEASUREMENT,
value_fn=lambda unit: unit.air_temperature,
),
AsekoSensorEntityDescription(
key="electrolyzer",
translation_key="electrolyzer",
native_unit_of_measurement="g/h",
state_class=SensorStateClass.MEASUREMENT,
value_fn=lambda unit: unit.electrolyzer,
),
AsekoSensorEntityDescription(
key="free_chlorine",
translation_key="free_chlorine",

View File

@ -34,6 +34,9 @@
"air_temperature": {
"name": "Air temperature"
},
"electrolyzer": {
"name": "Electrolyzer"
},
"free_chlorine": {
"name": "Free chlorine"
},