I programmed the following automation but it’s not firing.
- id: living_pendel_toggle
alias: Living Pendel toggle
description: ''
trigger:
- platform: event
event_type: knx_event
condition:
- condition: template
value_template: >
{{ trigger.event.data.destination == "0/0/204" and
trigger.event.data.data[0] == 0 }}
action:
- type: toggle
device_id: c0365d0acd8a424626c04c524f94ae55
entity_id: light.grote_lamp
domain: light
mode: single
This is the event being registered.
{
"event_type": "knx_event",
"data": {
"data": 0,
"destination": "0/0/204",
"direction": "Incoming",
"source": "1.1.5",
"telegramtype": "GroupValueWrite"
},
"origin": "LOCAL",
"time_fired": "2021-09-16T09:03:46.746738+00:00",
"context": {
"id": "6a1671007e26f38fa1cda32aee31f030",
"parent_id": null,
"user_id": null
}
}
Can somebody tell me what I’m doing wrong?