{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13548","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13548/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13548/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13548/events","html_url":"https://github.com/home-assistant/home-assistant/issues/13548","id":310075004,"number":13548,"title":"Tado component stopped working","user":{"login":"Paul-Vdp","id":17593073,"avatar_url":"https://avatars0.githubusercontent.com/u/17593073?v=4","gravatar_id":"","url":"https://api.github.com/users/Paul-Vdp","html_url":"https://github.com/Paul-Vdp","followers_url":"https://api.github.com/users/Paul-Vdp/followers","following_url":"https://api.github.com/users/Paul-Vdp/following{/other_user}","gists_url":"https://api.github.com/users/Paul-Vdp/gists{/gist_id}","starred_url":"https://api.github.com/users/Paul-Vdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Paul-Vdp/subscriptions","organizations_url":"https://api.github.com/users/Paul-Vdp/orgs","repos_url":"https://api.github.com/users/Paul-Vdp/repos","events_url":"https://api.github.com/users/Paul-Vdp/events{/privacy}","received_events_url":"https://api.github.com/users/Paul-Vdp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-30T14:07:58Z","updated_at":"2018-03-30T21:56:24Z","closed_at":null,"author_association":"NONE","body":"<!-- READ THIS FIRST:\r\n- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/\r\n- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases\r\n- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components\r\n- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests\r\n- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!\r\n-->\r\n\r\n**Home Assistant release with the issue:**\r\n 0.65.6\r\n<!--\r\n- Frontend -> Developer tools -> Info\r\n- Or use this command: hass --version\r\n-->\r\n\r\n\r\n**Last working Home Assistant release (if known):**\r\n0.65.6\r\n\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\n\r\nHassbian Venv\r\n<!--\r\nPlease provide details about your environment.\r\n-->\r\n\r\n**Component/platform:**\r\n https://www.home-assistant.io/components/climate.tado/\r\n<!--\r\nPlease add the link to the documentation at https://www.home-assistant.io/components/ of the component/platform in question.\r\n-->\r\n\r\n\r\n**Description of problem:**\r\nYesterday the Tado Climate Component stopped working. Information is still retrieved and displayed correctly, but any change in Operation Mode and/or Target Temp through the UI or through service calls is not carried out and results in errors.\r\nWas working till sometime yesterday, with an unchanged configuration ...\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\n\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\nLog Details (ERROR)\r\nFri Mar 30 2018 16:00:25 GMT+0200 (Romance Daylight Time)\r\n\r\nError executing service <ServiceCall climate.set_temperature: entity_id=['climate.living'], temperature=19.999999999999986>\r\nTraceback (most recent call last):\r\n  File \"/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py\", line 1006, in _event_to_service_call\r\n    await service_handler.func(service_call)\r\n  File \"/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/__init__.py\", line 331, in async_temperature_set_service\r\n    await climate.async_set_temperature(**kwargs)\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 380, in __iter__\r\n    yield self  # This tells Task to wait for completion.\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 304, in _wakeup\r\n    future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 293, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/concurrent/futures/thread.py\", line 55, in run\r\n    result = self.fn(*self.args, **self.kwargs)\r\n  File \"/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/tado.py\", line 214, in set_temperature\r\n    self._control_heating()\r\n  File \"/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/climate/tado.py\", line 357, in _control_heating\r\n    self.zone_id, self._current_operation, self._target_temp)\r\n  File \"/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tado.py\", line 127, in set_zone_overlay\r\n    self.tado.setZoneOverlay(zone_id, mode, temperature, duration)\r\n  File \"/srv/homeassistant/lib/python3.5/site-packages/PyTado/interface.py\", line 278, in setZoneOverlay\r\n    data = self._apiCall(cmd, \"PUT\", post_data, True)\r\n  File \"/srv/homeassistant/lib/python3.5/site-packages/PyTado/interface.py\", line 81, in _apiCall\r\n    response = self.opener.open(req)\r\n  File \"/usr/lib/python3.5/urllib/request.py\", line 472, in open\r\n    response = meth(req, response)\r\n  File \"/usr/lib/python3.5/urllib/request.py\", line 582, in http_response\r\n    'http', request, response, code, msg, hdrs)\r\n  File \"/usr/lib/python3.5/urllib/request.py\", line 510, in error\r\n    return self._call_chain(*args)\r\n  File \"/usr/lib/python3.5/urllib/request.py\", line 444, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/lib/python3.5/urllib/request.py\", line 590, in http_error_default\r\n    raise HTTPError(req.full_url, code, msg, hdrs, fp)\r\nurllib.error.HTTPError: HTTP Error 422: Unprocessable Entity\r\n```\r\n\r\n**Additional information:**\r\nI suspect an API change from TADO's side :-("},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/377632404","html_url":"https://github.com/home-assistant/home-assistant/issues/13548#issuecomment-377632404","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/13548","id":377632404,"user":{"login":"bymem","id":1265623,"avatar_url":"https://avatars1.githubusercontent.com/u/1265623?v=4","gravatar_id":"","url":"https://api.github.com/users/bymem","html_url":"https://github.com/bymem","followers_url":"https://api.github.com/users/bymem/followers","following_url":"https://api.github.com/users/bymem/following{/other_user}","gists_url":"https://api.github.com/users/bymem/gists{/gist_id}","starred_url":"https://api.github.com/users/bymem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bymem/subscriptions","organizations_url":"https://api.github.com/users/bymem/orgs","repos_url":"https://api.github.com/users/bymem/repos","events_url":"https://api.github.com/users/bymem/events{/privacy}","received_events_url":"https://api.github.com/users/bymem/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T21:56:24Z","updated_at":"2018-03-30T21:56:24Z","author_association":"NONE","body":"We’ll I’m actually thinking it’s not completely changed because I’m still getting the real status of the thermostats, but can’t control them. \r\n\r\nSo maybe it’s a easy fix hopefully. "}}
{"actor":{"display_login":"bymem"}}