I have just installed a Netatmo Relay and 2 Thermostats, and added the following to configuration.yaml
Climate.
- platform: netatmo
The netatmo component is already configured, and has found both the Weather Station and the Welcome camera, so the component works.
But no matter what I have tried, the Thermostats are not found, and there is nothing in the error log.
Any clues on what I could try? Or is this a bug?
Update: I thought my components were called Thermostats, but it turns out that Netatmo calls them Radiator Valves
I guess these are so new that they are not supported at the moment. Any change they can be in the future?
I would be interested too. Also the old API is depricated, so it will be necessary to reimplement the new API soon. I tried to figure it out, but the changes of the API are so massive that my very limited python abilities aren’t enough.
Hi,
Just tried it on 0.71. I get errors on all components. In my Netatmo config I have both Weather Items, Cameras and 2 Valves (But no Thermostat). But it fails on all of them.
here is the first error in the Log file. (Let me know if you need more)
Thu Jun 28 2018 19:47:43 GMT+0200 (Central European Summer Time)
netatmo2: Error on device update!
Traceback (most recent call last):
File “/usr/src/app/homeassistant/helpers/entity_platform.py”, line 244, in _async_add_entity
await entity.async_device_update(warning=False)
File “/usr/src/app/homeassistant/helpers/entity.py”, line 327, in async_device_update
yield from self.hass.async_add_job(self.update)
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/climate/netatmo2.py”, line 245, in update
self._data.update()
File “/usr/src/app/homeassistant/util/init.py”, line 319, in wrapper
result = method(*args, **kwargs)
File “/config/custom_components/climate/netatmo2.py”, line 329, in update
self.boilerstatus = self.homestatus.boilerStatus()
File “/config/deps/lib/python3.6/site-packages/netatmo_home/Thermostat.py”, line 280, in boilerStatus
relay_status = self.thermostatById(rid=None)
File “/config/deps/lib/python3.6/site-packages/netatmo_home/Thermostat.py”, line 203, in thermostatById
return self.default_thermostat
AttributeError: ‘HomeStatus’ object has no attribute ‘default_thermostat’
You can have another try.
But I think you better update to 0.72 first Custom climate component for testing new Netatmo Energy API on HA +0.72
I have changed the custom climate component and the lnetatmo dep.
So replace the custom climate component by this: https://gist.github.com/gieljnssns/4ff4d0d5548c614c548de8b77dcd11d2
delete the deps/lnetatmo and deps/netatmo_home files
and reboot