Hello
i habe this MQTT Message:
topic ‘zigbee2mqtt/remote1’, payload ‘{“action”:“on”,“action_group”:101,“battery”:100,“linkquality”:212,“voltage”:3000}’
The Trigger for the automation should be “action” AND “actiongroup”
With one of this it works fine, but doesn’t with both.
I have this in my automations.yaml:
- id: '1710925435752'
alias: Miboxer V2
description: ''
trigger:
- platform: mqtt
topic: zigbee2mqtt/remote1
payload: '"on",101'
value_template: '{{ value_json.action , value_json.action_group }}'
condition: []
action:
- service: notify.mobile_app_sm_s911b
metadata: {}
data:
message: '101'
title: 101-2
mode: single
Can tell me somebody what is wrong with this Code ?