Closed dredjohn21 closed 2 months ago
Hey there @allenporter, mind taking a look at this issue as it has been labeled with an integration (nest
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
nest documentation nest source (message by IssueLinks)
The server is returning an API because it cant set the mode when the thermostat is in the specified state. Perhaps the nest behavior changed.
However you are pasting the output into the issue is pretty unreadable so hard to tell what the log says. But with this, not sure we can do much.
Sorry was pasting from my phone
Do you know if there is any way for me to check if the Nest behavior changed or if there is someway to still push my device into ECO mode?
Confirmed documentation was updated and error is triggered when thermostat is already set to OFF. It turned out it wasn’t my Living Room thermostat that was triggering it but my basement which was turned off at the time the script was run.
https://developers.google.com/nest/device-access/traits/device/thermostat-mode
“ The thermostat mode must be changed to HEAT, COOL, or HEATCOOL prior to changing the Eco mode.”
The problem
I have a script that sets my Nest Learning Thermostat to Eco mode when we all leave house. It has been working fine until 3 days ago when I started getting 400 errors. Nothing changed with script… but I did upgrade my HAOS software?
logger:%20homeassistant.components.script.set_thermostats_to_eco_mode%0ASource%3A%20helpers/script.py:2002%0Aintegration:%20Script%20(documentation,%20issues)%0AFirst%20occurred:%2011:48:33%20AM%20(5%20occurrences)%0ALast%20logged:%205:40:51%20PM%0A%0ASet%20Thermostats%20to%20Eco%20Mode:%20Error%20executing%20script.%20Error%20for%20device%20at%20pos%201:%20Error%20setting%20climate.basement_thermostat%20preset%20mode%20to%20eco:%20Error%20from%20API:%20400:%20FAILED_PRECONDITION:%20sdm.devices.commands.ThermostatEco.SetMode%20command%20not%20allowed%20in%20current%20thermostat%20mode.:%20Bad%20Request
What version of Home Assistant Core has the issue?
2024.7.4
What was the last working version of Home Assistant Core?
2024.7.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Google Nest
Link to integration documentation on our website
https://www.home-assistant.io/integrations/nest/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response