Adding support for Netatmo Thermostat

Ok, I restarted HA, in front-end the box of Climate is not showing

any errors in the logs?

16-11-20 22:59:29 homeassistant.components.climate: Error while setting up platform netatmo
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\helpers\entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 361, in iter
yield self # This tells Task to wait for completion.
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py”, line 296, in _wakeup
future.result()
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 274, in result
raise self.exception
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate\netatmo.py”, line 47, in setup_platform
for module_name in data.get_module_names():
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate\netatmo.py”, line 160, in get_module_names
self.update()
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\util_init
.py", line 296, in wrapper
result = method(*args, **kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate\netatmo.py”, line 175, in update
self.target_temperature = self.thermostatdata.setpoint_temp
AttributeError: ‘ThermostatData’ object has no attribute ‘setpoint_temp’

This is the full log (there are other errors, but I don’t think related to climate/netatmo (the error on the module Gilma_outdoor" is because the battery ran out)

16-11-20 22:59:22 homeassistant.loader: Unable to find component action
16-11-20 22:59:26 homeassistant.components.sensor.netatmo: Module name: “Gilma_outdoor” not found
16-11-20 22:59:28 homeassistant.components.camera: Error while setting up platform synology
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\helpers\entity_component.py”, line 145, in _async_setup_platform
entity_platform.async_add_entities, discovery_info
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\camera\synology.py”, line 77, in async_setup_platform
connector=connector
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\client.py”, line 51, in init
raise ValueError(“loop argument must agree with connector”)
ValueError: loop argument must agree with connector
16-11-20 22:59:29 oauth2client.contrib.locked_file: Could not acquire lock C:\Users\admin\AppData\Local\Temp\google-api-python-client-discovery-doc.cache.lock in 0 seconds
16-11-20 22:59:29 oauth2client.contrib.locked_file: Could not acquire lock C:\Users\admin\AppData\Local\Temp\google-api-python-client-discovery-doc.cache.lock in 0 seconds
16-11-20 22:59:29 oauth2client.contrib.locked_file: Could not acquire lock C:\Users\admin\AppData\Local\Temp\google-api-python-client-discovery-doc.cache.lock in 0 seconds
16-11-20 22:59:29 oauth2client.contrib.locked_file: Could not acquire lock C:\Users\admin\AppData\Local\Temp\google-api-python-client-discovery-doc.cache.lock in 0 seconds
16-11-20 22:59:29 homeassistant.components.climate: Error while setting up platform netatmo
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\helpers\entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 361, in iter
yield self # This tells Task to wait for completion.
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py”, line 296, in _wakeup
future.result()
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 274, in result
raise self.exception
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate\netatmo.py”, line 47, in setup_platform
for module_name in data.get_module_names():
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate\netatmo.py”, line 160, in get_module_names
self.update()
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\util_init
.py", line 296, in wrapper
result = method(*args, **kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate\netatmo.py”, line 175, in update
self.target_temperature = self.thermostatdata.setpoint_temp
AttributeError: ‘ThermostatData’ object has no attribute ‘setpoint_temp’
16-11-20 22:59:30 homeassistant.components.media_player: Error while setting up platform cast
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\helpers\entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 361, in iter
yield self # This tells Task to wait for completion.
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py”, line 296, in _wakeup
future.result()
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 274, in result
raise self.exception
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\media_player\cast.py”, line 45, in setup_platform
import pychromecast
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\pychromecast_init
.py", line 14, in
from . import socket_client
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\pychromecast\socket_client.py”, line 22, in
from . import cast_channel_pb2
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\pychromecast\cast_channel_pb2.py”, line 6, in
from google.protobuf.internal import enum_type_wrapper
ImportError: No module named ‘google.protobuf’

in wich location did you paste the custom component?

the netatmo.py file here (my HA is on windows 10)
C:\Users\admin\AppData\Roaming.homeassistant\deps\custom_components\climate

I think it has to be C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate

Yes that’s correct.

Now it works, on the front end box, all different thermostat are shown, and correctly. I tried to change the temperature, but it will not change (when I press target temperature is not changing in box, and is not changing for real, I check concurrently the netatmo app)

any errors?

16-11-20 23:13:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init_.py”, line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 173, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
16-11-20 23:13:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init
.py", line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 173, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
16-11-20 23:13:30 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init
.py", line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 173, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
16-11-20 23:15:20 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init
.py", line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 173, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
16-11-20 23:16:20 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init
.py", line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 173, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
16-11-20 23:16:50 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init
.py", line 205, in away_mode_set_service
climate.turn_away_mode_on()
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 134, in turn_away_mode_on
self._data.thermostatdata.setthermpoint(mode, temp, endTimeOffset=None, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 173, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in _call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Can you download the Thermostat.py file again, replace it, test and post the errors?

Ok[quote=“gieljnssns, post:51, topic:983, full:true”]
Can you download the Thermostat.py file again, replace it, test and post the errors?
[/quote]

Ok…

It worked first time, not the second

EDIT: actually it works, but on one thermostat, not the others

16-11-20 23:48:10 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init_.py”, line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 175, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in _call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

I have to get back to work…

EDIT: actually it works, but on one thermostat, not the others

thanks! The box is now fine, and can control one thermostat. Great progress.

And I go to sleep, here is midnight (CET)

Bye!

Hi!!

After updating of 0.33.3 I receive this error log

16-11-23 15:29:17 homeassistant.components.climate: Error while setting up platform netatmo
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\helpers\entity_component.py”, line 150, in _async_setup_platform
entity_platform.add_entities, discovery_info
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 361, in iter
yield self # This tells Task to wait for completion.
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py”, line 296, in _wakeup
future.result()
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py”, line 274, in result
raise self.exception
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 52, in setup_platform
add_callback_devices([NetatmoThermostat(data, module_name, device)])
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 78, in init
self.update()
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\util_init
.py", line 296, in wrapper
result = method(*args, **kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 162, in update
self._target_temperature = self._data.thermostatdata.setpoints(module=self._name, device=self._device)
AttributeError: ‘ThermostatData’ object has no attribute ‘setpoints’
16-11-23 15:30:26 homeassistant.bootstrap: Not initializing discovery because could not install dependency netdisco==0.7.7

@anon35356645
I think you have to replace the Thermostat.py file again. After you did an update.

@gieljnssns
thanks, now in the front end the 4 thermostat appear correctly. But I can’t change the temperature (on all 4)

this the error log

16-11-23 18:11:48 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init_.py”, line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 175, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
16-11-23 18:12:10 homeassistant.core: Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\concurrent\futures\thread.py”, line 55, in run
result = self.fn(*self.args, **self.kwargs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\core.py”, line 1055, in execute_service
service_handler.func(service_call)
File "C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\site-packages\homeassistant\components\climate_init
.py", line 259, in temperature_set_service
climate.set_temperature(**kwargs)
File “C:\Users\admin\AppData\Roaming.homeassistant\custom_components\climate\netatmo.py”, line 153, in set_temperature
mode, temperature, endTimeOffset, device_id=self.device_id, module_id=self.module_id)
File “C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home\Thermostat.py”, line 175, in setthermpoint
return postRequest(SETTEMP_REQ, postParams)
File "C:\Users\admin\AppData\Roaming.homeassistant\deps\smart_home_init
.py", line 25, in postRequest
resp = urllib.request.urlopen(req, params).read(body_size).decode(“utf-8”)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 163, in urlopen
return opener.open(url, data, timeout)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 472, in open
response = meth(req, response)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 582, in http_response
‘http’, request, response, code, msg, hdrs)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 510, in error
return self._call_chain(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 444, in _call_chain
result = func(*args)
File “C:\Users\admin\AppData\Local\Programs\Python\Python35\lib\urllib\request.py”, line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found