Skip to content

Commit

Permalink
Fix reworded properties in 2.1.0 pydaikin release (#36257)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlemainque committed May 30, 2020
1 parent 86582ad commit e1c6f01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/daikin/sensor.py
Expand Up @@ -129,7 +129,7 @@ def state(self):
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

0 comments on commit e1c6f01

Please sign in to comment.