From e1c6f010475f59b71c92a57b9cb0f62b91a3683f Mon Sep 17 00:00:00 2001 From: mlemainque Date: Sat, 30 May 2020 04:15:54 +0200 Subject: [PATCH] Fix reworded properties in 2.1.0 pydaikin release (#36257) --- homeassistant/components/daikin/sensor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/daikin/sensor.py b/homeassistant/components/daikin/sensor.py index eeaa162c2d8..7ff79338a79 100644 --- a/homeassistant/components/daikin/sensor.py +++ b/homeassistant/components/daikin/sensor.py @@ -129,7 +129,7 @@ class DaikinPowerSensor(DaikinSensor): if self._device_attribute == ATTR_TOTAL_POWER: return round(self._api.device.current_total_power_consumption, 3) if self._device_attribute == ATTR_COOL_ENERGY: - return round(self._api.device.last_hour_cool_power_consumption, 3) + return round(self._api.device.last_hour_cool_energy_consumption, 3) if self._device_attribute == ATTR_HEAT_ENERGY: - return round(self._api.device.last_hour_heat_power_consumption, 3) + return round(self._api.device.last_hour_heat_energy_consumption, 3) return None