We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c92871 commit 1f84b2eCopy full SHA for 1f84b2e
custom_components/daikin_residential_altherma/sensor.py
@@ -331,10 +331,10 @@ def state(self):
331
"""Return the internal state of the sensor."""
332
print("state")
333
if self._device_attribute == ATTR_SETPOINT_MODE:
334
- return self._device.control_mode
+ return self._device.setpoint_mode
335
336
if self._device_attribute == ATTR_TANK_SETPOINT_MODE:
337
+ return self._device.tank_setpoint_mode
338
339
if self._device_attribute == ATTR_CONTROL_MODE:
340
return self._device.control_mode
0 commit comments