Skip to content

Commit

Permalink
Humidity on climate entity
Browse files Browse the repository at this point in the history
  • Loading branch information
lwis committed Dec 27, 2024
1 parent dc861ef commit 3871308
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/octopus_energy/heat_pump/zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def _handle_coordinator_update(self) -> None:
for sensor in sensors:
if sensor.code == self._zone.configuration.primarySensor and sensor.telemetry is not None:
self._attr_current_temperature = sensor.telemetry.temperatureInCelsius
self._attr_current_humidity = sensor.telemetry.humidityPercentage

if result.data.octoHeatPumpControllerConfiguration is not None and result.data.octoHeatPumpControllerConfiguration.zones:
configs: List[ConfigurationZone] = result.data.octoHeatPumpControllerConfiguration.zones
Expand Down

0 comments on commit 3871308

Please sign in to comment.