home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.72k stars 30.84k forks source link

Nest Integration Automation Action missing TemperatureSetpoint #102425

Closed Floriszz closed 1 year ago

Floriszz commented 1 year ago

The problem

I just added the integration for Nest Thermostat for the first time. Integration is successful. I see temperature setpoint and sensor and humidity and I can set the different modes of the thermostat But it looks like the Automation Action is missing the TemperatureSetpoint. It is possible to set the the setpoint temperature manually by dragging the temperature up in the control card; set net temp on control

See screenshots; Only HVAC mode or Preset are available actions; Nest Actions

For HVAC you can set these 2 options only; Nest HVAC action options

For Preset it is either none or ECO; nest preset options

What version of Home Assistant Core has the issue?

2023.10.3

What was the last working version of Home Assistant Core?

No response

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/#configuration

Diagnostics information

{ "home_assistant": { "installation_type": "Home Assistant OS", "version": "2023.10.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.11.5", "docker": true, "arch": "aarch64", "timezone": "Europe/Amsterdam", "os_name": "Linux", "os_version": "6.1.21-v8", "supervisor": "2023.10.0", "host_os": "Home Assistant OS 11.0", "docker_version": "24.0.6", "chassis": "embedded", "run_as_root": true }, "custom_components": { "hacs": { "version": "1.33.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "ojmicroline_thermostat": { "version": "1.1.3", "requirements": [ "ojmicroline-thermostat==1.1.3" ] }, "frigate": { "version": "4.0.0", "requirements": [ "pytz==2022.7" ] } }, "integration_manifest": { "domain": "nest", "name": "Google Nest", "after_dependencies": [ "media_source" ], "codeowners": [ "@allenporter" ], "config_flow": true, "dependencies": [ "ffmpeg", "http", "application_credentials" ], "dhcp": [ { "macaddress": "18B430" }, { "macaddress": "641666" }, { "macaddress": "D8EB46*" } ], "documentation": "https://www.home-assistant.io/integrations/nest", "iot_class": "cloud_push", "loggers": [ "google_nest_sdm" ], "quality_scale": "platinum", "requirements": [ "google-nest-sdm==3.0.2" ], "is_built_in": true }, "data": { "subscriber": { "start": 3, "message_received_count": 274, "message_received_sum": 1296063, "message_acked_count": 274, "message_acked_sum": 1462, "stop": 3, "delete_subscription.attempt": 1, "create_subscription.attempt": 1 }, "devices": [ { "data": { "name": "REDACTED", "type": "sdm.devices.types.THERMOSTAT", "parentRelations": [ { "parent": "REDACTED", "displayName": "REDACTED" } ], "sdm.devices.traits.Settings": { "temperatureScale": "CELSIUS" }, "assignee": "REDACTED", "traits": { "sdm.devices.traits.Info": { "customName": "REDACTED" }, "sdm.devices.traits.Humidity": { "ambientHumidityPercent": 62 }, "sdm.devices.traits.Connectivity": { "status": "ONLINE" }, "sdm.devices.traits.Fan": {}, "sdm.devices.traits.ThermostatMode": { "mode": "HEAT", "availableModes": [ "HEAT", "OFF" ] }, "sdm.devices.traits.ThermostatEco": { "availableModes": [ "OFF", "MANUAL_ECO" ], "mode": "OFF", "heatCelsius": 15.4444, "coolCelsius": 24.44443 }, "sdm.devices.traits.ThermostatHvac": { "status": "OFF" }, "sdm.devices.traits.Settings": { "temperatureScale": "CELSIUS" }, "sdm.devices.traits.ThermostatTemperatureSetpoint": { "heatCelsius": 15.293 }, "sdm.devices.traits.Temperature": { "ambientTemperatureCelsius": 20.23999 } } }, "command": { "sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat_count": 2, "sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat_sum": 3927 }, "event_media": { "event": 2 } } ] } }

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year 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!

Code owner commands Code owners of `nest` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign nest` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


nest documentation nest source (message by IssueLinks)

Floriszz commented 1 year ago

By going through the detail of the yaml for an automation on this page; https://community.home-assistant.io/t/nest-thermostat-automation-with-openweathermap-and-nest-preset-schedules-compatibility/570317 I figured out the yaml code for setting the temperature;

After saving the automation and going back into the automation UI, it turns out you have to set the temperature through a service. See screenshot below.

So it turns out not a bug but, the screenshot below will help others who don't use yaml in the first place to set an automation; set temperature of the nest

Floriszz commented 1 year ago

Not a bug, but needs a bit extra explanation on the automations.