-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Tado component fails to add climate components when Hot Water is present #9530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Mine also fails but i dont have any hot water 2017-10-29 12:30:28 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform tado
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 170, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/tado.py", line 60, in setup_platform
tado, hass, zone, zone['name'], zone['id']))
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/tado.py", line 74, in create_climate_device
temperatures = capabilities['HEAT']['temperatures']
KeyError: 'HEAT' |
Is this still an issue in 0.58.1? I've setup my tado without an issue and it created a On the my.tado.com page, I have a Heating and a Hot water configuration. |
Yes, it is an issue for me in 58.1. @wmalgadey , are you maintaining this? Otherwise I might submit a PR. I think for now, a simple check to exclude the device if type = HOT_WATER. Longer term, we may want a different device type. The challenge is that hot water can only be turned on or off. No other data is provided. Thoughts? |
@michaelarnauts - can you control the temperature of the hot water in app? |
Hi dasos, I am quite busy in the moment. So, if you could make a PR this would be awesome! |
Done in #10927 |
Home Assistant release (
hass --version
):0.53.1
Component/platform:
Tado
Description of problem:
Error creating the climate components when Hot Water is part of your tado system
Expected:
climate components get created for each zone
Traceback (if applicable):
Additional info:
I opened the my.tado.com site and had a look at the json result from the GET request to /zone/0:
As you can see it is for hot water and doesnt contain a temperatures array like the code is expecting
The text was updated successfully, but these errors were encountered: