Sync Updates
This commit is contained in:
29
packages/pfsense/pfsense_automations.yaml
Normal file
29
packages/pfsense/pfsense_automations.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
automation:
|
||||
- alias: "pfSense WAN Down"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.pfsense_gateway_wan_gw_status
|
||||
to: 'False'
|
||||
action:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: "WAN Gateway went offline"
|
||||
|
||||
- alias: "pfSense Mullvad Down"
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: sensor.pfsense_gateway_mullvad1gw_status
|
||||
to: 'False'
|
||||
- platform: state
|
||||
entity_id: sensor.pfsense_gateway_mullvad1gwv6_status
|
||||
to: 'False'
|
||||
- platform: state
|
||||
entity_id: sensor.pfsense_gateway_mullvad2gw_status
|
||||
to: 'False'
|
||||
- platform: state
|
||||
entity_id: sensor.pfsense_gateway_mullvad2gwv6_status
|
||||
to: 'False'
|
||||
action:
|
||||
- service: notify.notify
|
||||
data:
|
||||
message: "A Mullvad connection went offline"
|
Reference in New Issue
Block a user