so here I am all happy I have device trackers setting Nest to be Home or Away - that’s gonna be the hard part right?.. apparently not!
First off I am running 0.33.1 and have made a few fixes to get all the Nest components working (see GitHub for ‘unknown’ devices). When I try to set the temperature using this code :
homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/core.py”, line 1055, in execute_service
service_handler.func(service_call)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/climate/init.py”, line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/climate/nest.py”, line 171, in set_temperature
_LOGGER.debug(“Nest set_temperature-output-value=%s”, temp)
UnboundLocalError: local variable ‘temp’ referenced before assignment
Now I have tried also using target_temperature_high_c and just temperature but to no avail.
Anyone got any ideas???
I have just set up my nest thermostat with HA, but still being new to the config file, how do I work this action, so I have something on the UI that I can change and have it sent/read via my nest ?
I appreciate it is an old post and now that the heating season is starting in my country, I have only just got round to this. I found that you have to do two things:
Ensure that the Product you have created in your developer account has the correct read/write permissions. I fixed this but it would still not work.
It took me a day or 2 to figure out that you also have to log into your user account and accept the permission change - a bit like a mobile phone app. It’s all there in the documentation but took me a while to find it.
Reviving this old thread as I am a new to HA/YAML and cannot seem to find a more current solution - do not know if syntax has changed with latest Google Nest Integration since the last post… Trying to change current Nest temperature target set point via automation, but Visual Editor only seems to support “Change HVAC mode…” or “Change preset…” with only two options being “none” or “eco”. Thought I could use Visual Editor to create initial YAML, then try above suggestions to change target set point temperature, but none seem to work - below is YAML being generated:
alias: Office Environment
description: Set Nest while in office
trigger: