home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.93k stars 30.15k forks source link

Turning on/off nested light groups take more than 10 seconds #65119

Closed TheZoker closed 2 years ago

TheZoker commented 2 years ago

The problem

After updating to the latest beta, it takes about 10 seconds to turn on/off my yeelight lights.

I use a ikea zigbee switch to turn on/off the lights. When I track the zha_event in HA, the event appears immediately. When I turn the yeelights on/off within the HA dashboard, this also happens immediately, except when I call it on a light group.

So the issue seems to lay anywhere between the event trigger and the automation, that turns on/off the lights.

I was able to reproduce this on two different instances in two different homes (both with yeelights and ikea zigbee switches).

It seems, that the issue has to do with the light.group integration somehow. What's also intresting is, that I have three groups. group1 and group2 and then a group3 which consists of group1 and group2:

light:
  - platform: group
    name: Group 1
    entities:
      - light.licht_1
      - light.licht_2
      - light.licht_3
      - light.licht_4
      - light.licht_5
      - light.licht_6
  - platform: group
    name: Group 2
    entities:
      - light.licht_7
      - light.licht_8
      - light.licht_9
      - light.licht_10
      - light.licht_11
  - platform: group
    name: Group 3
    entities: 
      - light.group_1
      - light.group_2

And this issue only happens on group 3, but not on group 1 and 2. So it seems, that it has something to do with the nested group (maybe).

What version of Home Assistant Core has the issue?

core-2022.2.0b1

What was the last working version of Home Assistant Core?

core-2021.12.10

What type of installation are you running?

Home Assistant OS

Integration causing the issue

light.group

Link to integration documentation on our website

https://www.home-assistant.io/integrations/light.group/

Example YAML snippet

alias: Lichtschalter
description: ''
trigger:
  - device_id: xxx
    domain: zha
    platform: device
    type: remote_button_short_press
    subtype: turn_on
condition: []
action:
  - data: {}
    entity_id: light.zuhause_licht
    service: light.toggle
mode: single

Anything in the logs that might be useful for us?

No response

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

Hey there @dmulcahey, @adminiuga, mind taking a look at this issue as it has been labeled with an integration (zha) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)


zha documentation zha source (message by IssueLinks)

Adminiuga commented 2 years ago

Check integration documentation about logging. Provide debug logs

TheZoker commented 2 years ago

Here are the debug logs:

Click to expand! ```log 2022-01-28 16:31:39 DEBUG (MainThread) [zigpy.appdb] SQLite version for : 3.34.1 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.aduro 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.aduro.adurolightncc 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.aurora 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.aurora.aurora_dimmer 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.bitron 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.bitron.thermostat 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.bosch 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.bosch.isw_zdl1_wp11g 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.bosch.motion 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.cl_3130 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.cl_3157100 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.cl_3300S 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.cl_3305S 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.cl_3310S 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.cl_3321S 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.cl_3460L 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.ias 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.motion 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.centralite.motionandtemp 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.const 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.danfoss 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.danfoss.thermostat 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.develco 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.develco.air_quality 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.develco.heat_alarm 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.develco.open_close 2022-01-28 16:31:42 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.develco.smoke_alarm 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.echostar 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.echostar.bell 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ecolink 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ecolink.contact 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.edpwithus 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.edpwithus.redy_plug 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.elko 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.elko.smart_super_thermostat 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.eurotronic 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.eurotronic.spzb0001 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.gledopto 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.gledopto.gls007z 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.gledopto.soposhgu10 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.heiman 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.heiman.smoke 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.hivehome 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.hivehome.mot003V0 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.hivehome.mot003V6 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.blinds 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.cctlightzha 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.dimmer 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.fivebtnremote 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.fivebtnremotezha 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.fourbtnremote 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.motion 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.motionzha 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.opencloseremote 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.shortcutbtn 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.symfonisk 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.tradfriplug 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ikea.twobtnremote 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.iluminize 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.iluminize.cct 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.iluminize.dim 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.imagic 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.imagic.gs1117s 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.imagic.im1116s 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.innr 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.innr.innr_sp120_plug 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.innr.rs228t 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.keenhome 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.keenhome.sv02612mp13 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.keenhome.weather 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.kof 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.kof.kof_mr101z 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.konke 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.konke.button 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.konke.magnet 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.konke.motion 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.konke.temp 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lds 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lds.cctswitch 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ledvance 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ledvance.a19rgbw 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.ledvance.flexrgbw 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.legrand 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.legrand.dimmer 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lidl 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lidl.TS0501A 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lidl.cct 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lidl.rgbcct 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.linkind 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.linkind.a001082 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lixee 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lixee.zlinky 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lutron 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.lutron.lzl4bwhl01remote 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.mli 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.mli.tint 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.netvox 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.netvox.z308e3ed 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.nue 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.nue.auwz02000 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.orvibo 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.orvibo.dimmer 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.orvibo.motion 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.a19rgbw 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.flexrgbw 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.gardenpolesrgbw 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.lightifyx4 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.osramplug 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.smartplusac05347 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.switchmini 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.osram.tunablewhite 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.philio 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.philio.pst03a 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.philips 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.philips.motion 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.philips.rom001 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.philips.rwl022 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.philips.rwlfirstgen 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.plaid 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.plaid.soil 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.salus 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.salus.sp600 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.samjin 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.samjin.button 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.samjin.button2 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.samjin.multi 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.samjin.multi2 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sengled 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sengled.e1e_g7f 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sercomm 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sercomm.szwtd02n 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sinope 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sinope.light 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sinope.switch 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sinope.thermostat 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings.moisturev4 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings.motion 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings.multi 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings.multiv4 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings.pgc313 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings.pgc314 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.smartthings.tag_v4 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sonoff 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.sonoff.button 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.terncy 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.terncy.pp01 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.terncy.sd01 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.thirdreality 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.thirdreality.switch 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.trust 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.trust.zpir8000 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.air 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.air.ts0601_air_quality 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.mcu 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts000x 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts001x 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0041 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0042 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0043 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0044 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts004f 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts011f 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts011f_plug 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0121_plug 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0201_neo 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0201_zemismart 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0210 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0501b 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0501bs 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_co 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_cover 2022-01-28 16:31:43 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_dimmer 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_din_power 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_electric_heating 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_motion 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_siren 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_smoke 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_switch 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_trv 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts0601_trv_sas 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.tuya.ts130f 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.visonic 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.visonic.mct340e 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.waxman 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.waxman.leaksmart 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xbee 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xbee.xbee3_io 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xbee.xbee_io 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.ctrl_ln 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.ctrl_neutral 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.cube 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.cube_aqgl01 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.illumination 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.light_aqcn2 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.magnet_acn001 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.magnet_aq2 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.motion_agl02 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.motion_aq2 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.motion_aq2b 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.opple_remote 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.plug 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.plug_maus01 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.plug_mmeu01 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.relay_c2acn01 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.remote_b186acn01 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.remote_b286acn01 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.remote_h1 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.roller_curtain_e1 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.sensor_swit 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.sensor_switch_aq3 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.switch_aq2 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.tvoc 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.vibration_aq1 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.weather 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.aqara.wleak_aq1 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.mija 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.mija.motion 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.mija.sensor_ht 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.mija.sensor_magnet 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.mija.sensor_switch 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.xiaomi.mija.smoke 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.yale 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.yale.realliving 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.yooksmart 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.yooksmart.D10110blinds 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.zen 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.zen.thermostat 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.zhongxing 2022-01-28 16:31:44 DEBUG (MainThread) [zhaquirks] Loading quirks module zhaquirks.zhongxing.motion 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.appdb] Current database version is v7 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.appdb] Loading application state 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0000] Attribute id: 4 value: LUMI 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0000] Attribute id: 5 value: lumi.sensor_switch 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.appdb] [0xfc0a:1:0x0000] Attribute id: 5 value: TRADFRI remote control 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.appdb] [0xfc0a:1:0x0000] Attribute id: 4 value: IKEA of Sweden 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for None None (00:21:2e:ff:ff:02:a4:d7) 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {11, 13} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {11, 13} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {11, 13} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {232, 230} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {11, 13} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because endpoint list mismatch: {1} {1, 242} 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for LUMI lumi.sensor_switch (00:15:8d:00:02:3d:0b:e2) 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for 00:15:8d:00:02:3d:0b:e2: 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Checking quirks for IKEA of Sweden TRADFRI remote control (00:0d:6f:ff:fe:40:13:3b) 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because profile_id mismatch on at least one endpoint 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because profile_id mismatch on at least one endpoint 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Fail because profile_id mismatch on at least one endpoint 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Considering 2022-01-28 16:31:46 DEBUG (MainThread) [zigpy.quirks.registry] Found custom device replacement for 00:0d:6f:ff:fe:40:13:3b: 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0000] Attribute id: 4 value: LUMI 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0000] Attribute id: 7 value: 3 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0000] Attribute id: 5 value: lumi.sensor_switch 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xfc0a:1:0x0000] Attribute id: 5 value: TRADFRI remote control 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0001] Attribute id: 49 value: 10 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0001] Attribute id: 51 value: 1 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xfc0a:1:0x0000] Attribute id: 7 value: 3 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xfc0a:1:0x0000] Attribute id: 4 value: IKEA of Sweden 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xfc0a:1:0x0001] Attribute id: 32 value: 27 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xfc0a:1:0x0001] Attribute id: 33 value: 42 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0001] Attribute id: 32 value: 30.1 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.appdb] [0xd0e3:1:0x0001] Attribute id: 33 value: 137 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.group] Adding group: 57624, No name group 0xe118 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.group] Adding group: 54293, No name group 0xd415 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.group] Adding group: 53722, No name group 0xd1da 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.group] Adding group: 56023, No name group 0xdad7 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy.group] Adding group: 0, No name group 0x0000 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter protocol_version response: [268] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.version (0,) 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Version response: 263a0500 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0) 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [, 0, 58] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Network state transition: OFFLINE -> CONNECTED 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter mac_address response: [00:21:2e:ff:ff:02:a4:d7] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter aps_designed_coordinator response: [1] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.write_parameter (5, , b'X\x02\x00\x00') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Write parameter watchdog_ttl: SUCCESS 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.device_state (0, 0, 0) 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Device state response: [, 0, 38] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_address response: [0x0000] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_panid response: [0x4950] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_extended_panid response: [00:21:2e:ff:ff:02:a4:d7] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter channel_mask response: [] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter aps_extended_panid response: [00:00:00:00:00:00:00:00] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (2, , b'\x00') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter network_key response: [0, [55, 100, 53, 48, 50, 53, 49, 97, 54, 55, 55, 53, 100, 53, 99, 52]] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_frame_counter response: [5596854] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter trust_center_address response: [00:21:2e:ff:ff:02:a4:d7] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (9, , b'\xd7\xa4\x02\xff\xff.!\x00') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter link_key response: [00:21:2e:ff:ff:02:a4:d7, [90, 105, 103, 66, 101, 101, 65, 108, 108, 105, 97, 110, 99, 101, 48, 57]] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter security_mode response: [3] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter current_channel response: [11] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter protocol_version response: [268] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.read_parameter (1, , b'') 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Read parameter nwk_update_id response: [1] 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.zigbee.application] device: 0xfc0a - IKEA of Sweden TRADFRI remote control, FFD=False, Rx_on_when_idle=False 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.zigbee.application] Restoring 00:0d:6f:ff:fe:40:13:3b/0xfc0a device as direct child 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] Command Command.add_neighbour (12, 1, 0xFC0A, 00:0d:6f:ff:fe:40:13:3b, ) 2022-01-28 16:31:47 DEBUG (MainThread) [zigpy_deconz.api] add neighbour response: [12, 1, 0xfc0a, 00:0d:6f:ff:fe:40:13:3b, 128] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] [0x0000](dresden elektronik RaspBee) restored as 'available', last seen: 0:25:50 ago, consider_unavailable_time: 7200 seconds 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'Battery' using ['power'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] [0xD0E3](LUMI lumi.sensor_switch) restored as 'available', last seen: 0:29:32 ago, consider_unavailable_time: 21600 seconds 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'button' component -> 'ZHAIdentifyButton' using ['identify'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'Battery' using ['power'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'RSSISensor' using ['basic'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.discovery] 'sensor' component -> 'LQISensor' using ['basic'] 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] [0xFC0A](IKEA of Sweden TRADFRI remote control) restored as 'available', last seen: 0:30:59 ago, consider_unavailable_time: 21600 seconds 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] Loading battery powered devices 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD0E3](lumi.sensor_switch): started initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:ZDO](lumi.sensor_switch): 'async_initialize' stage succeeded 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFC0A](TRADFRI remote control): started initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:ZDO](TRADFRI remote control): 'async_initialize' stage succeeded 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0001]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0001]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0000]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0000]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0003]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0003]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0008]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0008]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0006]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0006]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0019]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0019]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0005]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0005]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0000]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0000]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0001]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0001]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0003]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0003]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x1000]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x1000]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0008]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0008]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0006]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0006]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0019]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0019]: finished channel initialization 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0005]: initializing channel: from_cache: True 2022-01-28 16:31:47 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0005]: finished channel initialization 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0001]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0000]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0003]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0008]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0006]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0019]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xD0E3:1:0x0005]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0000]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0001]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0003]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x1000]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0008]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0006]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0019]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0xFC0A:1:0x0005]: 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD0E3](lumi.sensor_switch): power source: Battery or Unknown 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xD0E3](lumi.sensor_switch): completed initialization 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFC0A](TRADFRI remote control): power source: Battery or Unknown 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xFC0A](TRADFRI remote control): completed initialization 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.gateway] Loading mains powered devices 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0000](RaspBee): started initialization 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.channels.base] [0x0000:ZDO](RaspBee): 'async_initialize' stage succeeded 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0000](RaspBee): power source: Mains 2022-01-28 16:31:48 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x0000](RaspBee): completed initialization 2022-01-28 16:32:44 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [, 0] 2022-01-28 16:32:44 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 4) 2022-01-28 16:32:44 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [34, , , 3, , 1, 260, 6, b'\x01N\x02', 0, 175, 239, 164, 0, 1, 2, -61] 2022-01-28 16:32:44 DEBUG (MainThread) [zigpy.zcl] [0xfc0a:1:0x0006] ZCL deserialize: manufacturer=None tsn=78 command_id=2> 2022-01-28 16:32:44 DEBUG (MainThread) [zigpy.zcl] [0xfc0a:1:0x0006] ZCL request 0x0002: [] 2022-01-28 16:32:44 DEBUG (MainThread) [zigpy.zcl] [0xfc0a:1:0x0006] No handler for cluster command 2 2022-01-28 16:32:44 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from , ep: 1, profile: 0x0104, cluster_id: 0x0006, data: b'014e02' 2022-01-28 16:32:55 DEBUG (MainThread) [zigpy_deconz.api] Device state changed response: [, 0] 2022-01-28 16:32:55 DEBUG (MainThread) [zigpy_deconz.api] Command Command.aps_data_indication (1, 4) 2022-01-28 16:32:55 DEBUG (MainThread) [zigpy_deconz.api] APS data indication response: [34, , , 3, , 1, 260, 6, b'\x01O\x02', 0, 175, 255, 164, 0, 1, 2, -58] 2022-01-28 16:32:55 DEBUG (MainThread) [zigpy.zcl] [0xfc0a:1:0x0006] ZCL deserialize: manufacturer=None tsn=79 command_id=2> 2022-01-28 16:32:55 DEBUG (MainThread) [zigpy.zcl] [0xfc0a:1:0x0006] ZCL request 0x0002: [] 2022-01-28 16:32:55 DEBUG (MainThread) [zigpy.zcl] [0xfc0a:1:0x0006] No handler for cluster command 2 2022-01-28 16:32:55 DEBUG (MainThread) [zigpy_deconz.api] 'aps_data_indication' response from , ep: 1, profile: 0x0104, cluster_id: 0x0006, data: b'014f02' ```
Strangehadron commented 2 years ago

Same issue for me, also using ikea zigbee button (but not seem related to the zigbee button itself)

The problem By using an automation with an IKEA zigbee button to turn all the light off in my house, there is a 10 seconds delay for it to work. I test more and this doesn't seem to be related to automation itself (automation triggered directly and log appear directly).

When i turn off or on all the light on the dashboard the issue is the same, 10 seconds delay. In my log the activation appear only when light turn on or off, not when i click the switch on the dashboard.

I have light groups like these :

Light house -> Light dining room -> Light kitchen

Light dining room -> light 1 -> light 2 Light Kitchen -> light 1 -> light 2

The only group with the delay is the all light group, other or light itself don't have this delay. Maybe something related with a number of light ?

What version of Home Assistant Core has the issue?

core-2022.2.0b -> b2

What was the last working version of Home Assistant Core?

core-2021.12.10

What type of installation are you running?

Home Assistant OS

Integration causing the issue Zigbee2MQTT (MQTT)

Link to integration documentation on our website https://www.home-assistant.io/integrations/mqtt/

Anything in the logs that might be useful for us?

Exemple of z2m log when i trigger of the switch on the dashboard:


Zigbee2MQTT:error 2022-01-28 20:59:00: Publish 'set' 'state' to 'Lampe toilettes' failed: 'Error: Command 0x588e81fffec81de9/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
Zigbee2MQTT:error 2022-01-28 20:59:00: Publish 'set' 'state' to 'Lampe salle de bain' failed: 'Error: Command 0x842e14fffe32ceb4/1 genOnOff.off({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'
Zigbee2MQTT:error 2022-01-28 20:59:37: Publish 'set' 'state' to 'Lampe chambre Amy' failed: 'Error: Command 0x0c4314fffe949246/1 genOnOff.on({}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":false,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (no response received)'

Additional information

fishbone-git commented 2 years ago

I'm seeing the same behaviour for grouped lights, no ZHA involved. Each of the lights can be turned on from the front end and will toggle immediately. When toggling the group entity, however, one comes on immediately, and the other exactly 10 seconds later

Strangehadron commented 2 years ago

I'm seeing the same behaviour for grouped lights, no ZHA involved. Each of the lights can be turned on from the front end and will toggle immediately. When toggling the group entity, however, one comes on immediately, and the other exactly 10 seconds later

Yes, it seem related to light groups, but i'm not encounter the problem for all my light groups. My issue appear with the all light group (composed of all other light group)

fishbone-git commented 2 years ago

agreed. groups are ok. light groups are not.

Adminiuga commented 2 years ago

Can you post debug logs of zha receiving the event from remote and triggered Ng automation and request to the bulb? Include homeassistant.core too, so could time the core events

TheZoker commented 2 years ago

Oh yeah true, when I try to call light.toggle on the whole group, then there is a 10 minute delay. So I don't think that this has to do anything with ZHA, but rather with the group entity somehow πŸ€”

I edited the initial issue and replaced zha with light.group

probot-home-assistant[bot] commented 2 years ago

grouped_light documentation grouped_light source (message by IssueLinks)

TheZoker commented 2 years ago

Hmm the only PR that I was able to find that could be related is maybe this one: https://github.com/home-assistant/core/pull/63477

fishbone-git commented 2 years ago

in my case, the logs show a timeout which is very repeatable. It seems to be a light group that also contains another light group

  - platform: group
    name: WLED Overkapping Lights
    entities:
      - light.wled_overkapping_master
      - light.wled_garden_bulb
      - light.wled_achtertuin_master
 - platform: group
    name: Garden Light
    entities:
      - light.wled_garden_bulb

I use the group as a kind of "alias" as I've changed the device a number of times and it saves rewriting automations and dashboards. When I take out the light group and use the device directly in the main group, all appears to work as it should

kongjudas commented 2 years ago

I have noticed the same since before Christmas but with light groups using ZHA. This group is containing 9 lights, all IKEA. I moved them from ZHA to the IKEA gateway and got better results, but inconsistent. I have the same problem now with the 2022.2b4 but only in a selection of groups. It seems to depend on the size of the group.

lweberru commented 2 years ago

Same issue with light groups and hue hubs. Scenes and single lights react fast, light groups take over 10 seconds or even longer and sometimes also dont react at all. Version: Home Assistant 2022.3.0.dev20220203

geekofweek commented 2 years ago

I can confirm @fishbone-git analysis, nested light groups seemed to be the culprit for me. Removing the nesting seemed to solve it.

Kirorus commented 2 years ago

I have same problem with nested light groups... With shelly2.5 and shelly rgbw2 and standard shelly integration

eerorossi commented 2 years ago

The same finding here. Steering nested group is slow (~10 s) while individual groups respond immediately.

Jpsy commented 2 years ago

Same here: Nested light groups have a delay of about 10 seconds, both when switching on and off. The inner light groups work instantaneously.

Probably NOT related to Zigbee / ZHA. No MQTT or Zigbee or other RF protocols involved in my case. All entities are cable bound KNX and work lightning fast when switched separately.

I went through all logs and there is nothing suspicious.

avdrovaart commented 2 years ago

Yeah same here, See https://github.com/home-assistant/core/issues/65766#issuecomment-1030627248 for a screenshot of the automation debug, my configuration. and also other steps I tried.

mguterl commented 2 years ago

I am having the same issue and can provide additional debug logs if needed.

emufan commented 2 years ago

Same here. And same with cover groups.

oywino commented 2 years ago

I have exactly the same issue. And for me it happens with nested light groups.

bartdorsey commented 2 years ago

Same here, groups of groups have a 10 second delay before the grouped lights turn off.. Curiously enough, turning them ON seems to be instant.

cafarre commented 2 years ago

Same here with nested groups of lights and covers too. It doesn't seem to be a problem with the shelly devices, they work fine individually. 10 second delay occurs when turning nested groups "on" or "off"

Jpsy commented 2 years ago

Even better: Try groups of nested groups. I have hierarchical light groups up to 7 levels deep. They take 1 minute to respond! πŸ˜«πŸ˜‚

Jpsy commented 2 years ago

Wait, this report is 9 days old. 8 days since the label was corrected to "grouped light". But the release is only 3 days ago. You ambushed me knowingly! Couldn't there have been at least a "known problems" hint somewhere in the small print?

Silvenga commented 2 years ago

Don't feel bad @Jpsy - I also had some problems finding this (and others, at least 5 tickets are related to this). The cross cutting nature is making searching difficult - is it a light problem, is it a hue problem, etc.

I wonder if the needs-more-information is still needed. 🐱

Jpsy commented 2 years ago

The logs that were the reason for needs-more-information have also been provided 8 days ago. The XX chromosome acceptance factor of HA has taken a serious hit. I'm in trouble. (Yes, I know this is an issue tracker, not a chat room.)

emufan commented 2 years ago

The XX chromosome acceptance factor of HA has taken a serious hit. I'm in trouble. (Yes, I know this is an issue tracker, not a chat room.)

Agree. For now I used the work around to remove the nested groups and assigned every device directly to the groups. A lot of overhead, but at least working.

rteterin commented 2 years ago

Same issue here.

With this config:

light:
  - platform: group
    name: room_main_light
    entities:
     - light.room_rgb

  - platform: group
    name: room_rgb
    entities:
      - light.room_e27_rgb_1
      - light.room_e27_rgb_2
      - light.room_e27_rgb_3
      - light.room_e27_rgb_4
      - light.room_e27_rgb_5
      - light.room_e27_rgb_6

Switching light.room_main_light on/off takes about 10 seconds to complete, while switching light.room_rgb on/off works instantly. The lights are connected via Sonoff Zigbee 3.0 Plus stick and Zigbee2mqtt.

System info: Home Assistant OS 7.2 core-2022.2.2 Zigbee2mqtt (1.23.0-1)

PhilippBaumgarten commented 2 years ago

I can confirm this new delay for groups - also for direct control of Hue lights. In my case also first group (Schlafzimmer - Deckenlicht) is causing delays for on/off command of up to 5seconds.

  - platform: group
    name: Schlafzimmer - Deckenlicht
    unique_id: 40222f67-b935-4024-aad7-39c72b4a0bb7
    entities:
      - light.white_schlafzimmer_1
      - light.white_schlafzimmer_2
      - light.white_schlafzimmer_3
      - light.white_schlafzimmer_4

  - platform: group
    name: Schlafzimmer
    unique_id: 8f593185-a73e-4008-ae30-b41a23524711
    entities:
      - light.schlafzimmer_deckenlicht
      - light.hue_go_obergeschoss
Jpsy commented 2 years ago

Hi @Adminiuga, reports are piling up here and in many related issues for about 10 days. The needs-more-information tag has not been removed. Duplicate flags have not been created. No response whatsoever. Is there some major road block? Anything else we can do to assist in debugging? This is really affecting many users.

Adminiuga commented 2 years ago

No debug logs for the issue were provided. Debug logs of zha startup are not relevant. Need the logs with timestamp where i can see the incoming event and coresponding service calls to turn the lights on. Further more, based on the additional feedback, the common denominator seem to be the light groups, so I'm not sure this is a zha problem. But again, since nobody cared to provide logs i can't tell. One thing for sure, I'm not seeing this issue in my production setup, but i'm also not using the light groups. but I'm using zha groups and haven't noticed issues

Silvenga commented 2 years ago

@Adminiuga are these logs enough? https://github.com/home-assistant/core/issues/65702

Adminiuga commented 2 years ago

Well, not really. That is not zha, but it re-enforces assumption that the problem might be with the group itself, since the underlying platform is hue and not zha.

In those logs, i assume the top entities n-are the light groups? The service call for the individual lights is called 10s after the service call for the light group, after the timeout

Silvenga commented 2 years ago

Yeah, the service call timing out was for a nested light group. Multiple levels of nested groups appear to compound the delay. Flattening the hierarchy mitigates the problem.

I think it's fair to assume that this is related to nested light groups - per https://github.com/home-assistant/core/issues/65702#issuecomment-1030328471, https://github.com/home-assistant/core/issues/65119#issuecomment-1024735886 and others. I've seen bug reports open for a broad range of integrations.

Jpsy commented 2 years ago

Yes, definitely. The issue is caused by nesting light groups, not by using ZHA. This was found early in this discussion and confirmed many times with examples and YAML code. According to related issue reports it is not even restricted to light groups, but happens with other groups too. So please let me again as the question @Adminiuga and @dmulcahey:
Are the provided logs sufficient (to debug nested groups) and are you even the right assignees?

DenisMir commented 2 years ago

I can confirm that error too! I'm having light groups of KNX light entities. (nested light groups as well) Worked well for months and after one of the latest updates it takes ages to deactivate a light group.

Which logs can I deliver? What do I have to setup the logs. I am willing to assist but I need instructions on how to help best.

probot-home-assistant[bot] commented 2 years ago

group documentation group source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (group) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)

Jpsy commented 2 years ago

Again: These are probably all duplicates

65885, #65872, #65828, #65766, #65702

oywino commented 2 years ago

Updating to 2022.2.3 today didn't solve this problem πŸ˜’

gipnokote commented 2 years ago

Updating to 2022.2.3 today didn't solve this problem πŸ˜’

Obviously there is no solution yet, the ticket is "open" and still has "needs more information" tag :|

oywino commented 2 years ago

"Needs more information" is a bit too generic. If I revert back to 2021.12.10 and earlier, it works OK. From 2022.2.1 it fails. I suspect it should be easy to reproduce; Just define nested ZigBee light groups, and it should fail, meaning: When the light group is turned on or off, all light within the group that them selves are light groups, have a delay of 10sec before they respond. All other lights in the group that are not nested groups, respond instantly.

gipnokote commented 2 years ago

Just define nested ZigBee light groups, and it should fail

Not just Zigbee, but any nested grouped light will do. As for me, I reverted to 2021.12.10 and wait for a fix...

Jpsy commented 2 years ago

Yes please, stop iterating ZigBee in this ticket! The issue has obviously nothing to do with ZigBee and you don't help the developers by pointing in wrong or irrelevant directions again. They already have to read through a lot of content here.

oywino commented 2 years ago

Yes please, stop iterating ZigBee in this ticket! Sorry about that. My bad. It just came out like that because I only have ZigBee devices. Thank you for correcting me.

jacquemard commented 2 years ago

I have reproduced this issue on a fresh local install (thinking I could maybe fix it myself, but I have not been able to ^^), here are some logs when turning on the "root" group, if it can help:

2022-02-08 21:24:02 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140082608257200] Received {'type': 'call_service', 'domain': 'light', 'service': 'turn_on', 'service_data': {'entity_id': 'light.root'}, 'id': 32}
2022-02-08 21:24:02 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=light.root>
2022-02-08 21:24:02 DEBUG (MainThread) [homeassistant.components.group.light] Forwarded turn_on command: {'entity_id': ['light.leaf']}
2022-02-08 21:24:02 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=['light.leaf']>
2022-02-08 21:24:03 DEBUG (Recorder) [homeassistant.components.recorder] Sending keepalive
2022-02-08 21:24:03 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0x7f679af3ca80> checked out from pool
2022-02-08 21:24:03 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0x7f679af3ca80> being returned to pool
2022-02-08 21:24:03 DEBUG (Recorder) [homeassistant.components.recorder.pool.RecorderPool] Connection <sqlite3.Connection object at 0x7f679af3ca80> rollback-on-return
2022-02-08 21:24:04 DEBUG (MainThread) [zeroconf] offsets = questions=0, answers=0, authorities=0, additionals=0
2022-02-08 21:24:04 DEBUG (MainThread) [zeroconf] lengths = questions=51, answers=1, authorities=0, additionals=0
2022-02-08 21:24:04 DEBUG (MainThread) [zeroconf] now offsets = questions=51, answers=1, authorities=0, additionals=0
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.core] Service did not complete before timeout: <ServiceCall light.turn_on (c:ea234caac9a987df3fcaf9122e71c479): entity_id=['light.root'], params=>
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.core] Service did not complete before timeout: <ServiceCall light.turn_on (c:ea234caac9a987df3fcaf9122e71c479): entity_id=['light.leaf'], params=>
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140082608257200] Sending {"id": 32, "type": "result", "success": true, "result": {"context": {"id": "ea234caac9a987df3fcaf9122e71c479", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}}
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.components.group.light] Forwarded turn_on command: {'entity_id': ['light.virtual_light_test']}
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=light, service=turn_on, service_data=entity_id=['light.virtual_light_test']>
2022-02-08 21:24:12 INFO (SyncWorker_1) [custom_components.virtual.light] turn_on: {}
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.virtual_light_test, old_state=<state light.virtual_light_test=off; supported_color_modes=['brightness'], friendly_name=light_test, brightness=255, supported_features=1 @ 2022-02-08T21:23:48.293397+00:00>, new_state=<state light.virtual_light_test=on; supported_color_modes=['brightness'], color_mode=brightness, brightness=255, friendly_name=light_test, supported_features=1 @ 2022-02-08T21:24:12.217795+00:00>>
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.leaf, old_state=<state light.leaf=off; supported_color_modes=['brightness'], entity_id=['light.virtual_light_test'], icon=mdi:lightbulb-group, friendly_name=leaf, supported_features=0 @ 2022-02-08T21:23:48.293669+00:00>, new_state=<state light.leaf=on; supported_color_modes=['brightness'], color_mode=brightness, brightness=255, entity_id=['light.virtual_light_test'], icon=mdi:lightbulb-group, friendly_name=leaf, supported_features=0 @ 2022-02-08T21:24:12.218165+00:00>>
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=light.root, old_state=<state light.root=off; supported_color_modes=['brightness'], entity_id=['light.leaf'], icon=mdi:lightbulb-group, friendly_name=root, supported_features=0 @ 2022-02-08T21:23:48.293954+00:00>, new_state=<state light.root=on; supported_color_modes=['brightness'], color_mode=brightness, brightness=255, entity_id=['light.leaf'], icon=mdi:lightbulb-group, friendly_name=root, supported_features=0 @ 2022-02-08T21:24:12.218562+00:00>>
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140082608257200] Sending {"id": 17, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.virtual_light_test", "old_state": {"entity_id": "light.virtual_light_test", "state": "off", "attributes": {"supported_color_modes": ["brightness"], "friendly_name": "light_test", "brightness": 255, "supported_features": 1}, "last_changed": "2022-02-08T21:23:48.293397+00:00", "last_updated": "2022-02-08T21:23:48.293397+00:00", "context": {"id": "948dd3c987f204813e95720def051278", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}, "new_state": {"entity_id": "light.virtual_light_test", "state": "on", "attributes": {"supported_color_modes": ["brightness"], "color_mode": "brightness", "brightness": 255, "friendly_name": "light_test", "supported_features": 1}, "last_changed": "2022-02-08T21:24:12.217795+00:00", "last_updated": "2022-02-08T21:24:12.217795+00:00", "context": {"id": "ea234caac9a987df3fcaf9122e71c479", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}}, "origin": "LOCAL", "time_fired": "2022-02-08T21:24:12.217795+00:00", "context": {"id": "ea234caac9a987df3fcaf9122e71c479", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}}
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140082608257200] Sending {"id": 17, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.leaf", "old_state": {"entity_id": "light.leaf", "state": "off", "attributes": {"supported_color_modes": ["brightness"], "entity_id": ["light.virtual_light_test"], "icon": "mdi:lightbulb-group", "friendly_name": "leaf", "supported_features": 0}, "last_changed": "2022-02-08T21:23:48.293669+00:00", "last_updated": "2022-02-08T21:23:48.293669+00:00", "context": {"id": "948dd3c987f204813e95720def051278", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}, "new_state": {"entity_id": "light.leaf", "state": "on", "attributes": {"supported_color_modes": ["brightness"], "color_mode": "brightness", "brightness": 255, "entity_id": ["light.virtual_light_test"], "icon": "mdi:lightbulb-group", "friendly_name": "leaf", "supported_features": 0}, "last_changed": "2022-02-08T21:24:12.218165+00:00", "last_updated": "2022-02-08T21:24:12.218165+00:00", "context": {"id": "ea234caac9a987df3fcaf9122e71c479", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}}, "origin": "LOCAL", "time_fired": "2022-02-08T21:24:12.218165+00:00", "context": {"id": "ea234caac9a987df3fcaf9122e71c479", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}}
2022-02-08 21:24:12 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection] [140082608257200] Sending {"id": 17, "type": "event", "event": {"event_type": "state_changed", "data": {"entity_id": "light.root", "old_state": {"entity_id": "light.root", "state": "off", "attributes": {"supported_color_modes": ["brightness"], "entity_id": ["light.leaf"], "icon": "mdi:lightbulb-group", "friendly_name": "root", "supported_features": 0}, "last_changed": "2022-02-08T21:23:48.293954+00:00", "last_updated": "2022-02-08T21:23:48.293954+00:00", "context": {"id": "948dd3c987f204813e95720def051278", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}, "new_state": {"entity_id": "light.root", "state": "on", "attributes": {"supported_color_modes": ["brightness"], "color_mode": "brightness", "brightness": 255, "entity_id": ["light.leaf"], "icon": "mdi:lightbulb-group", "friendly_name": "root", "supported_features": 0}, "last_changed": "2022-02-08T21:24:12.218562+00:00", "last_updated": "2022-02-08T21:24:12.218562+00:00", "context": {"id": "ea234caac9a987df3fcaf9122e71c479", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}}, "origin": "LOCAL", "time_fired": "2022-02-08T21:24:12.218562+00:00", "context": {"id": "ea234caac9a987df3fcaf9122e71c479", "parent_id": null, "user_id": "aa93dc7ab1eb429f92868073793efccc"}}}

With the following configuration:


light:
  - platform: virtual  # from twrecked/hass-virtual
    name: light_test

  - platform: group
    name: leaf
    entities:
      - light.virtual_light_test

  - platform: group
    name: root
    entities:
      - light.leaf
emontnemery commented 2 years ago

Thanks a lot @remij1 for sharing the config example, that really helped πŸ‘