diff --git a/custom_components/hitachi_yutaki/const.py b/custom_components/hitachi_yutaki/const.py index 69d35a4..b22700b 100644 --- a/custom_components/hitachi_yutaki/const.py +++ b/custom_components/hitachi_yutaki/const.py @@ -105,6 +105,7 @@ "pool_temp": 1083, "compressor_current": 1214, "compressor_frequency": 1212, + "power_consumption": 1098, } # R134a specific registers (S80 only) diff --git a/custom_components/hitachi_yutaki/sensor.py b/custom_components/hitachi_yutaki/sensor.py index cb46e8a..3636407 100644 --- a/custom_components/hitachi_yutaki/sensor.py +++ b/custom_components/hitachi_yutaki/sensor.py @@ -101,7 +101,7 @@ class HitachiYutakiSensorEntityDescription(SensorEntityDescription): device_class=None, state_class=SensorStateClass.MEASUREMENT, native_unit_of_measurement=UnitOfFrequency.HERTZ, - register_key="inverter_frequency", + register_key="compressor_frequency", entity_category=EntityCategory.DIAGNOSTIC, ), HitachiYutakiSensorEntityDescription(