mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 17:57:55 +00:00
Google report state: thermostatMode should be a string, not null (#49342)
This commit is contained in:
parent
eb9ba527d0
commit
b69b55987d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user