homeassistant/components/ambient_station/__init__.py: async_call_later(self._hass, self._ws_reconnect_delay, self.ws_connect)
async_call_later will call ws_connect with now
which results in the traceback seen below.
configuration.yaml
2020-04-14 00:07:18 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback async_track_point_in_utc_time.<locals>.point_in_time_listener(<Event time_c....002733-05:00>) at /usr/src/homeassistant/homeassistant/helpers/event.py:234
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 250, in point_in_time_listener
hass.async_run_job(action, now)
File "/usr/src/homeassistant/homeassistant/core.py", line 379, in async_run_job
self.async_add_job(target, *args)
File "/usr/src/homeassistant/homeassistant/core.py", line 311, in async_add_job
task = self.loop.create_task(target(*args))
TypeError: ws_connect() takes 1 positional argument but 2 were given
Hey there @bachya, mind taking a look at this issue as its been labeled with a integration (ambient_station
) you are listed as a codeowner for? Thanks!
Roger that. Fix coming.
TYVM @bachya & @MartinHjelmare
Most helpful comment
TYVM @bachya & @MartinHjelmare