Light doesn't switch off in automation (but does work with card and switch on automation)

Hi,

I have two Ikea zigbee lights that I control via the conbee 2 on a HP T620 thin client (dedicated for Home Assistant). I have a simple Ikea zigbee switch that I use to turn the lights on and off. Since last week I can still turn them on but not off anymore (with the switch). If I run the automation it will trigger the 2 wall plugs but not the light bulbs. If I run only the bulb (from within the automation to troubleshoot) the bulb will turn off. Also, if I create a card, it will let me toggle the lights. I have created a new automation with a new trigger but again, the lights will not turn off.

The automation is really simple and did work for the last 2 years, I am not able to figure it out, anyone with a good idea?

id: '1719564597246'
alias: Lampen woonkamer uit
description: ''
trigger:
  - device_id: 6224fc4a11aa1432a34527665719044e
    domain: deconz
    platform: device
    type: remote_button_short_press
    subtype: turn_off
condition: []
action:
  - type: turn_off
    device_id: 38c313218b21034ffa0d7e82b22b270c
    entity_id: b8a2ab98864d835fe7adeb639ae4cfe2
    domain: switch
  - type: turn_off
    device_id: 64c68a8ee783a55e5d49f16901870792
    entity_id: 533a4ab28a89fce53ac83d3ebf4ec658
    domain: light
  - type: turn_off
    device_id: ca58efb6ccc1844514bac58825e40fd1
    entity_id: 6385733fbbcee478389373567bc3546e
    domain: light
  - type: turn_off
    device_id: ca29374fa6bd062132614e3ed61db458
    entity_id: fbf9db82c71278aeb16b4713511be886
    domain: switch
mode: single

What does the trace show ?

This is one problem, the second is , if you run an automation, the trigger is skipped.

Also:

The trace says it has hit al the devices.

But to make sure, I created a simple automation stating that when a wall plug (based on entity) changes state from on to off, it should turn off both lights. Unfortunatly only one turns off… weird.

id: '1719651970764'
alias: Lamp naast TV uit door stroomplug bank
description: ''
trigger:
  - platform: state
    entity_id:
      - switch.on_off_plug_in_unit_4
    from: 'on'
    to: 'off'
condition: []
action:
  - type: turn_off
    device_id: 64c68a8ee783a55e5d49f16901870792
    entity_id: 533a4ab28a89fce53ac83d3ebf4ec658
    domain: light
  - type: turn_off
    device_id: ca58efb6ccc1844514bac58825e40fd1
    entity_id: 6385733fbbcee478389373567bc3546e
    domain: light
mode: single

Could be a weak Zigbee mesh. Did you use an USB extension cable with your Conbee ?

No, it is directly attached.
But it does work without any problem when I use the card. Also other zigbee devices in the same room have no issues (the bulb is max. 3m away from the conbee).

*soft Kick

Another kick to top, hopefully there will be someone with the answer.