mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47: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": {
|
"air_temperature": {
|
||||||
"default": "mdi:thermometer-lines"
|
"default": "mdi:thermometer-lines"
|
||||||
},
|
},
|
||||||
|
"electrolyzer": {
|
||||||
|
"default": "mdi:lightning-bolt"
|
||||||
|
},
|
||||||
"free_chlorine": {
|
"free_chlorine": {
|
||||||
"default": "mdi:pool"
|
"default": "mdi:pool"
|
||||||
},
|
},
|
||||||
|
@ -38,6 +38,13 @@ SENSORS: list[AsekoSensorEntityDescription] = [
|
|||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
value_fn=lambda unit: unit.air_temperature,
|
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(
|
AsekoSensorEntityDescription(
|
||||||
key="free_chlorine",
|
key="free_chlorine",
|
||||||
translation_key="free_chlorine",
|
translation_key="free_chlorine",
|
||||||
|
@ -34,6 +34,9 @@
|
|||||||
"air_temperature": {
|
"air_temperature": {
|
||||||
"name": "Air temperature"
|
"name": "Air temperature"
|
||||||
},
|
},
|
||||||
|
"electrolyzer": {
|
||||||
|
"name": "Electrolyzer"
|
||||||
|
},
|
||||||
"free_chlorine": {
|
"free_chlorine": {
|
||||||
"name": "Free chlorine"
|
"name": "Free chlorine"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user