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"