Skip to content

Commit 1f84b2e

Browse files
author
speleolontra
committed
Fixed device set_point_mode and tank_setpoint_mode
1 parent 5c92871 commit 1f84b2e

File tree

1 file changed

+2
-2
lines changed
  • custom_components/daikin_residential_altherma

1 file changed

+2
-2
lines changed

custom_components/daikin_residential_altherma/sensor.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,10 @@ def state(self):
331331
"""Return the internal state of the sensor."""
332332
print("state")
333333
if self._device_attribute == ATTR_SETPOINT_MODE:
334-
return self._device.control_mode
334+
return self._device.setpoint_mode
335335

336336
if self._device_attribute == ATTR_TANK_SETPOINT_MODE:
337-
return self._device.control_mode
337+
return self._device.tank_setpoint_mode
338338

339339
if self._device_attribute == ATTR_CONTROL_MODE:
340340
return self._device.control_mode

0 commit comments

Comments
 (0)