So i have an aqara button as a ring bell, that turns my lights on and off, instead of a sound, since i usually walk around with headphones. However, it has come to my attention, that the first single press usually doesn't trigger the automation, while hold, double press and second single press does trigger the automation. Can someone help me figure out why?
Attached are pictures of logbook showing that first single press doesnt trigger while the other do. Automation:
alias: Ringeklokke lys v4
description: ""
triggers:
- trigger: state
entity_id:
- event.entre_knap_ringeklokke_aqara_action
attribute: event_type
to: single
- trigger: state
entity_id:
- event.entre_knap_ringeklokke_aqara_action
attribute: event_type
to: double
- trigger: state
entity_id:
- event.entre_knap_ringeklokke_aqara_action
attribute: event_type
to: hold
actions:
- repeat:
count: 4
sequence:
- target:
entity_id:
- light.badevaerelse_controller_ledstrip_miboxer
- light.badevarelse_spots_loft_shelly
- light.kokken_controller_ledstrip_miboxer
- light.kokken_lampe_loft_shelly
- light.spisebord_lampe_loft_shelly
- light.stue_lampe_gulv_ikea
- light.stue_lampe_loft_tuya
- light.entre_lampe_loft_shelly
- light.kontor_lampe_loft_ikea
action: light.toggle
data: {}
- delay: "00:00:01"