Created
February 11, 2024 19:13
-
-
Save shmick/f6651901077237862d064204c5806e4e to your computer and use it in GitHub Desktop.
The automation yaml for ppp0 stats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias: UXG ppp0 stats | |
description: UXG ppp0 stats | |
trigger: | |
- platform: webhook | |
allowed_methods: | |
- POST | |
local_only: true | |
webhook_id: "uxg_ppp0_stats" | |
condition: [] | |
action: | |
- alias: Update Data Received | |
event: set_ppp0_data_received | |
event_data: | |
state: "{{ trigger.json.data_received }}" | |
- alias: Update Data Sent | |
event: set_ppp0_data_sent | |
event_data: | |
state: "{{ trigger.json.data_sent }}" | |
mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment