I have a very old button which has been working well for years with the following automation.
alias: Ensuite Light Switch
description: Mini Sonos Switch Control for ensuite
mode: queued
max: 10
triggers:
- event_type: zha_event
event_data:
device_id: b66c306d7fe851346ce4739dc1080bd4
trigger: event
conditions: []
actions:
- metadata: {}
data:
brightness_pct: |
{{"80" if now().hour > 7 else "10"}}
target:
entity_id: light.ensuite_light
action: light.toggle
Since 2026.2 has been installed pressing the button gives in the automation,
Error in describing trigger: Cannot read properties of undefined (reading 'includes')
The trace data looks correct and pressing the button shows correctly in Dev Tools.
Can anyone point me in the direction of the fault. Thanks.