Closed doune closed 7 years ago
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
hass --version
0.38.x (x=0,1,2,3)
Python release (python3 --version):
python3 --version
3.4.2 Component/platform: rest_command
Description of problem:
Rest_command does not work anymore and goes to error in the log.
Expected:
rest_command working
Problem-relevant configuration.yaml entries and steps to reproduce:
configuration.yaml
rest_command: babychette_out: url: 'http://openjabnab.fr/ojn/FR/api.jsp?sn=yyyyyyy&token=xxxxxxxxx&tts=Au+revoir' babychette_in: url: 'http://openjabnab.fr/ojn/FR/api.jsp?sn=yyyyyyy&token=xxxxxxxx&tts=Bonjour'
Traceback (if applicable):
Feb 15 22:53:40 raspberrypi hass[730]: INFO:homeassistant.components.automation:Executing sechelinge terminé Feb 15 22:53:40 raspberrypi hass[730]: INFO:homeassistant.core:Bus:Handling <Event logbook_entry[L]: domain=automation, entity_id=automation.sechelinge_termine, name=sechelinge terminé, message=has been triggered> Feb 15 22:53:40 raspberrypi hass[730]: INFO:homeassistant.core:Bus:Handling <Event state_changed[L]: entity_id=automation.sechelinge_termine, new_state=<state automation.sechelinge_termine=on; last_triggered=2017-02-15T22:53:40.038613+01:00, friendly_name=sechelinge terminé @ 2017-02-15T22:43:58.869684+01:00>, old_state=<state automation.sechelinge_termine=on; last_triggered=2017-02-15T22:52:50.523969+01:00, friendly_name=sechelinge terminé @ 2017-02-15T22:43:58.869684+01:00>> Feb 15 22:53:45 raspberrypi hass[730]: INFO:homeassistant.core:Bus:Handling <Event call_service[L]: domain=rest_command, service=babychette_in, service_data=, service_call_id=1978239504-18> Feb 15 22:53:45 raspberrypi hass[730]: ERROR:homeassistant.core:Error doing job: Task exception was never retrieved Feb 15 22:53:45 raspberrypi hass[730]: Traceback (most recent call last): Feb 15 22:53:45 raspberrypi hass[730]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step Feb 15 22:53:45 raspberrypi hass[730]: result = next(coro) Feb 15 22:53:45 raspberrypi hass[730]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/core.py", line 1018, in _event_to_service_call Feb 15 22:53:45 raspberrypi hass[730]: yield from service_handler.func(service_call) Feb 15 22:53:45 raspberrypi hass[730]: File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/rest_command.py", line 90, in async_service_handler Feb 15 22:53:45 raspberrypi hass[730]: auth=auth Feb 15 22:53:45 raspberrypi hass[730]: File "/home/homeassistant/.homeassistant/deps/aiohttp/client.py", line 577, in __iter__ Feb 15 22:53:45 raspberrypi hass[730]: resp = yield from self._coro Feb 15 22:53:45 raspberrypi hass[730]: File "/home/homeassistant/.homeassistant/deps/aiohttp/client.py", line 213, in _request Feb 15 22:53:45 raspberrypi hass[730]: proxy=proxy, proxy_auth=proxy_auth, timer=timer) Feb 15 22:53:45 raspberrypi hass[730]: File "/home/homeassistant/.homeassistant/deps/aiohttp/client_reqrep.py", line 73, in __init__ Feb 15 22:53:45 raspberrypi hass[730]: assert isinstance(url, URL), url Feb 15 22:53:45 raspberrypi hass[730]: AssertionError: http://openjabnab.fr/ojn/FR/api.jsp?sn=yyyyyyyyyy&token=xxxxxxxxxxxxx&tts=Bonjour
Additional info:
A dependency of our dependency had a hiccup yesterday. Run pip3 install --upgrade yarl and you should be good.
pip3 install --upgrade yarl
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
):0.38.x (x=0,1,2,3)
Python release (
python3 --version
):3.4.2 Component/platform: rest_command
Description of problem:
Rest_command does not work anymore and goes to error in the log.
Expected:
rest_command working
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info: