mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-11-12 16:44:20 -08:00
don't send notifications for range tests
This commit is contained in:
parent
b9f77f5944
commit
5c59beaa5b
|
@ -235,8 +235,8 @@ Add the following code to your automations.yaml file. Be sure to modify the `to
|
||||||
condition:
|
condition:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ trigger.payload_json.payload.text | regex_search('@Tropho') }}"
|
value_template: "{{ trigger.payload_json.payload.text | regex_search('@Tropho') }}"
|
||||||
# or send ALL messages from the mesh to HA notifications
|
# or send ALL messages from the mesh to HA notifications (except for range tests)
|
||||||
# value_template: "{{ trigger.payload_json.payload.text is defined}}"
|
# value_template: "{{ trigger.payload_json.payload.text is defined and "seq " not in trigger.payload_json.payload.text}}"
|
||||||
enabled: true
|
enabled: true
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_trophos_galaxy_z_flip5
|
- service: notify.mobile_app_trophos_galaxy_z_flip5
|
||||||
|
|
Loading…
Reference in a new issue