mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Google report state: thermostatMode should be a string, not null (#49342)
This commit is contained in:
@@ -819,7 +819,7 @@ class TemperatureSettingTrait(_Trait):
|
||||
if preset in self.preset_to_google:
|
||||
response["thermostatMode"] = self.preset_to_google[preset]
|
||||
else:
|
||||
response["thermostatMode"] = self.hvac_to_google.get(operation)
|
||||
response["thermostatMode"] = self.hvac_to_google.get(operation, "none")
|
||||
|
||||
current_temp = attrs.get(climate.ATTR_CURRENT_TEMPERATURE)
|
||||
if current_temp is not None:
|
||||
|
Reference in New Issue
Block a user