From 2b82de679d3bab64ff81c5bc47a543164ff3be6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=82olepszy?= Date: Tue, 14 Oct 2025 00:13:56 +0200 Subject: [PATCH 1/2] Expose 4 AC entities --- custom_components/hon/sensor.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/custom_components/hon/sensor.py b/custom_components/hon/sensor.py index 852896e..17ac233 100644 --- a/custom_components/hon/sensor.py +++ b/custom_components/hon/sensor.py @@ -514,6 +514,38 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = { translation_key="mach_modes_ac", option_list=const.AC_MACH_MODE, ), + HonSensorEntityDescription( + key="compressorFrequency", + name="Compressor Frequency", + icon="mdi:sine-wave", + device_class=SensorDeviceClass.FREQUENCY, + native_unit_of_measurement="Hz", + entity_registry_enabled_default=False, + ), + HonSensorEntityDescription( + key="humidityIndoor", + name="Humidity Indoor", + icon="mdi:water-percent", + device_class=SensorDeviceClass.HUMIDITY, + native_unit_of_measurement="%", + entity_registry_enabled_default=False, + ), + HonSensorEntityDescription( + key="power", + name="Power", + icon="mdi:lightning-bolt", + device_class=SensorDeviceClass.POWER, + native_unit_of_measurement="W", + entity_registry_enabled_default=False, + ), + HonSensorEntityDescription( + key="compressorCurrent", + name="Compressor Current", + icon="mdi:current-ac", + device_class=SensorDeviceClass.CURRENT, + native_unit_of_measurement="A", + entity_registry_enabled_default=False, + ), ), "REF": ( HonSensorEntityDescription( From 19fa6a9bae61151de41b06d3a19059ce4a6a9a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=82olepszy?= Date: Fri, 24 Oct 2025 19:12:57 +0200 Subject: [PATCH 2/2] Remove 3 of 4 added earlier sensors as they don't show anything --- custom_components/hon/sensor.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/custom_components/hon/sensor.py b/custom_components/hon/sensor.py index 17ac233..358b8be 100644 --- a/custom_components/hon/sensor.py +++ b/custom_components/hon/sensor.py @@ -522,30 +522,6 @@ SENSORS: dict[str, tuple[SensorEntityDescription, ...]] = { native_unit_of_measurement="Hz", entity_registry_enabled_default=False, ), - HonSensorEntityDescription( - key="humidityIndoor", - name="Humidity Indoor", - icon="mdi:water-percent", - device_class=SensorDeviceClass.HUMIDITY, - native_unit_of_measurement="%", - entity_registry_enabled_default=False, - ), - HonSensorEntityDescription( - key="power", - name="Power", - icon="mdi:lightning-bolt", - device_class=SensorDeviceClass.POWER, - native_unit_of_measurement="W", - entity_registry_enabled_default=False, - ), - HonSensorEntityDescription( - key="compressorCurrent", - name="Compressor Current", - icon="mdi:current-ac", - device_class=SensorDeviceClass.CURRENT, - native_unit_of_measurement="A", - entity_registry_enabled_default=False, - ), ), "REF": ( HonSensorEntityDescription(