home-assistant / operating-system

:beginner: Home Assistant Operating System
Apache License 2.0
4.93k stars 974 forks source link

Google Nest Integration won't change thermostat preset #1716

Closed lviperz closed 2 years ago

lviperz commented 2 years ago

Describe the issue you are experiencing

When attempting to change the nest thermostat preset to eco, the preset shows eco and instantly switches back to the previous preset. So if I have the thermostat set to Comfort (which doesn’t appear to be a preset option in the integration) and use the service call climate.set_preset_mode to change it to eco, the google home app (on my phone) will flash eco then go right back to Comfort.

When I manually change the preset to eco in the google home app, the HA integration does not display eco. The integration will only display the hvac mode (off, heat or cool).

Here is the traceback from the automation I made to change the preset to eco.

{ "trace": { "last_step": "action/0", "run_id": "1fdb924f5e13d26ce357c2945389e8ff", "state": "stopped", "script_execution": "finished", "timestamp": { "start": "2022-01-13T14:16:58.097507+00:00", "finish": "2022-01-13T14:16:58.875995+00:00" }, "domain": "automation", "item_id": "1642016336913", "trigger": null, "trace": { "trigger": [ { "path": "trigger", "timestamp": "2022-01-13T14:16:58.097711+00:00", "changed_variables": { "this": { "entity_id": "automation.all_away_set_thermostat_away", "state": "on", "attributes": { "last_triggered": "2022-01-13T14:15:13.620860+00:00", "mode": "single", "current": 0, "id": "1642016336913", "friendly_name": "Thermostat Set to Away (Eco)" }, "last_changed": "2022-01-13T14:14:20.149876+00:00", "last_updated": "2022-01-13T14:15:14.294201+00:00", "context": { "id": "a9ffc8dc0686d712a550d8361fcd3e39", "parent_id": "18fa379a3be6826cbef301e5636ea4e8", "user_id": null } }, "trigger": { "platform": null } } } ], "action/0": [ { "path": "action/0", "timestamp": "2022-01-13T14:16:58.099829+00:00", "changed_variables": { "context": { "id": "da7c2f57f444bd9bc83fa22e73360d76", "parent_id": "117888c1847310ea0e0d0961052a476d", "user_id": null } } } ] }, "config": { "id": "1642016336913", "alias": "Thermostat Set to Away (Eco)", "description": "", "trigger": [ { "platform": "state", "entity_id": "group.all_people", "to": "not_home" } ], "condition": [], "action": [ { "device_id": "9d6c20bd64e48634b92e78b91c6243c1", "domain": "climate", "entity_id": "climate.hallway_thermostat", "type": "set_preset_mode", "preset_mode": "eco" } ], "mode": "single" }, "blueprint_inputs": null, "context": { "id": "da7c2f57f444bd9bc83fa22e73360d76", "parent_id": "117888c1847310ea0e0d0961052a476d", "user_id": null } }, "logbookEntries": [ { "name": "Thermostat Set to Away (Eco)", "message": "has been triggered", "source": null, "entity_id": "automation.all_away_set_thermostat_away", "context_id": "da7c2f57f444bd9bc83fa22e73360d76", "when": "2022-01-13T14:16:58.098032+00:00", "domain": "automation" } ] }

What operating system image do you use?

generic-x86-64 (Generic UEFI capable x86-64 systems)

What version of Home Assistant Operating System is installed?

Home Assistant OS 7.1

Did you upgrade the Operating System.

No

Steps to reproduce the issue

  1. use the service call climate.set_preset_mode to change preset to eco
  2. using the google home app, monitor the status of the thermostat
  3. you will see the preset change to eco and instantly change back to the previous setting ...

Anything in the Supervisor logs that might be useful for us?

N/A

Anything in the Host logs that might be useful for us?

N/A

System Health information

System Health

version core-2021.12.9
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.9.7
os_name Linux
os_version 5.10.88
arch x86_64
timezone America/Chicago
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 5000 Installed Version | 1.18.0 Stage | running Available Repositories | 931 Installed Repositories | 7
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | January 15, 2022, 6:00 PM relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | us-east-1-0.ui.nabu.casa can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 7.1 -- | -- update_channel | stable supervisor_version | supervisor-2021.12.2 docker_version | 20.10.9 disk_total | 116.7 GB disk_used | 7.0 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | Terminal & SSH (9.3.0), UniFi Network Application (1.1.3), Z-Wave JS to MQTT (0.33.0)
Lovelace dashboards | 2 -- | -- resources | 4 views | 4 mode | storage

Additional information

No response

lviperz commented 2 years ago

Submitted to wrong area. Closing.