7-02-16 17:53:58 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform netatmo
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/hass/.homeassistant/custom_components/climate/netatmo.py", line 66, in setup_platform
for relay_name in data.get_relay_names():
File "/home/hass/.homeassistant/custom_components/climate/netatmo.py", line 253, in get_relay_names
for relay in self.thermostatdata.relays.values():
AttributeError: 'ThermostatData' object has no attribute 'relays'
1
I put the one of 21 days ago … and the card does not show …
climate disappeared … arrrggghhhh
17-02-17 14:31:27 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform netatmo
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/hass/.homeassistant/custom_components/climate/netatmo.py", line 47, in setup_platform
for module_name in data.get_module_names():
File "/home/hass/.homeassistant/custom_components/climate/netatmo.py", line 182, in get_module_names
for device in self.thermostatdata.modules:
AttributeError: 'ThermostatData' object has no attribute 'modules'
You always have to download netatmo.py and Thermostat.py from the same commit,
so when you download Thermostat.py from the commit “another try”, you also have to download netatmo.py from the commit “another try”.
Did you already tried the final commit “please test”? netatmo.py and Thermostat.py?
17-02-17 16:14:37 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform netatmo
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 151, in _async_setup_platform
entity_platform.add_entities, discovery_info
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
value = future.result()
File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
raise self._exception
File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/hass/.homeassistant/custom_components/climate/netatmo.py", line 76, in setup_platform
add_devices([NetatmoThermostat(data, module_name, relay_name)])
File "/home/hass/.homeassistant/custom_components/climate/netatmo.py", line 91, in __init__
relay=relay_name)['_id']
TypeError: 'NoneType' object is not subscriptable