mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
High and low target temps are also supported if target is supported
This commit is contained in:
@@ -631,6 +631,8 @@ class MqttClimate(MqttAvailability, MqttDiscoveryUpdate, ClimateDevice):
|
||||
if (self._topic[CONF_TEMPERATURE_STATE_TOPIC] is not None) or \
|
||||
(self._topic[CONF_TEMPERATURE_COMMAND_TOPIC] is not None):
|
||||
support |= SUPPORT_TARGET_TEMPERATURE
|
||||
support |= SUPPORT_TARGET_TEMPERATURE_HIGH
|
||||
support |= SUPPORT_TARGET_TEMPERATURE_LOW
|
||||
|
||||
if (self._topic[CONF_MODE_COMMAND_TOPIC] is not None) or \
|
||||
(self._topic[CONF_MODE_STATE_TOPIC] is not None):
|
||||
|
Reference in New Issue
Block a user