From 96ab629b584da61e95698b4adc7fc947b91298fa Mon Sep 17 00:00:00 2001 From: hermanops <55062051+hermanops@users.noreply.github.com> Date: Mon, 22 Jan 2024 19:04:03 +0100 Subject: [PATCH] fix name for eCO2 I think this should be adjusted, as the A9 doesn't return CO2. It does show ECO2 in the json. --- custom_components/wellbeing/api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/wellbeing/api.py b/custom_components/wellbeing/api.py index 2adcef0..befc445 100644 --- a/custom_components/wellbeing/api.py +++ b/custom_components/wellbeing/api.py @@ -151,8 +151,8 @@ def _create_entities(data): unit=PERCENTAGE ), ApplianceSensor( - name="CO2", - attr='CO2', + name="eCO2", + attr='ECO2', unit=CONCENTRATION_PARTS_PER_MILLION, device_class=SensorDeviceClass.CO2 ),