mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Add electrolyzer data to Aseko Pool Live (#127249)
This commit is contained in:
parent
273795b025
commit
98a8430f26
@ -9,6 +9,9 @@
|
||||
"air_temperature": {
|
||||
"default": "mdi:thermometer-lines"
|
||||
},
|
||||
"electrolyzer": {
|
||||
"default": "mdi:lightning-bolt"
|
||||
},
|
||||
"free_chlorine": {
|
||||
"default": "mdi:pool"
|
||||
},
|
||||
|
@ -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",
|
||||
|
@ -34,6 +34,9 @@
|
||||
"air_temperature": {
|
||||
"name": "Air temperature"
|
||||
},
|
||||
"electrolyzer": {
|
||||
"name": "Electrolyzer"
|
||||
},
|
||||
"free_chlorine": {
|
||||
"name": "Free chlorine"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user