core: TypeError: 'uvloop.loop.TimerHandle' object is not callable

Home Assistant release with the issue:

0.93

Last working Home Assistant release (if known): 0.92 (last one i didn’t notice the errors)

Operating environment (Hass.io/Docker/Windows/etc.):

hassio Pi3+

Component/platform:

deconz

Description of problem:

I’m seeing repeated errors of this form in logs:

2019-05-23 15:58:13 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall light.turn_on (c:63e40f25bbed4427b0d871d305751503): entity_id=['group.hallway_lights'], color_temp=299, brightness=1
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1150, in _safe_execute
    await self._execute_service(handler, service_call)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/core.py", line 1163, in _execute_service
    await handler.func(service_call)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/light/__init__.py", line 297, in async_handle_light_on_service
    await light.async_turn_on(**pars)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/deconz/light.py", line 143, in async_turn_on
    await self._device.async_set_state(data)
  File "/usr/local/lib/python3.7/site-packages/pydeconz/light.py", line 155, in async_set_state
    await self.async_set(field, data)
  File "/usr/local/lib/python3.7/site-packages/pydeconz/deconzdevice.py", line 128, in async_set
    self.cancel_retry()
  File "/usr/local/lib/python3.7/site-packages/pydeconz/deconzdevice.py", line 147, in cancel_retry
    self._cancel_retry()
TypeError: 'uvloop.loop.TimerHandle' object is not callable

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 32 (20 by maintainers)

Most upvoted comments

Well release is imminent so too late to change now 😃

trying to install the 🍺 now.

@m-e-h someone has got to be the first 😂👍🏻

Just to add context, I’ve been experiencing this after I execute a turn off “all lights”. A handful of bulbs will continue to give this uvloop error until I restart HA. I have about 30 or so bulbs.

This was puzzling me as lights were always failing when I got back home from work. Now I changed my “Leaving Home” automation to turn off lights individually instead of using the group.all_lights. Let’s see how it goes. Thanks for the tip.

Just to add context, I’ve been experiencing this after I execute a turn off “all lights”. A handful of bulbs will continue to give this uvloop error until I restart HA. I have about 30 or so bulbs.

Yes, the issue is with a retry mechanism to resend messages that get a queue is full error from deconz

I’ve been testing with the “new” component as is available on github, as a custom component in 0.93.2. I’ve seen no issues for the last 2 days.

Just to add context, I’ve been experiencing this after I execute a turn off “all lights”. A handful of bulbs will continue to give this uvloop error until I restart HA. I have about 30 or so bulbs.