Philips Hue Dimmer Switch v2 (Zigbee2MQTT)

OK, now it makes more sense.

The blueprint condition would need to be changed, to something like below (not tested in reality):

condition:
  - condition: template
    value_template: "{{ 'action' in trigger.payload_json and trigger.payload_json.action != '' }}"

Check shall be done verifying that action key exists, before its value is validated.

2 Likes