cacert_expiring

View All Rules

alias: cacert_expiring
trigger:
  platform: numeric_state
  entity_id:
  - sensor.cert_license_nxfifteen_rocks
  - sensor.cert_nx15_at
  - sensor.cert_nxfifteen_core
  - sensor.cert_nxfifteen_eml_web
  - sensor.cert_nxfifteen_git
  - sensor.cert_nxfifteen_skizimport
  - sensor.cert_nxfifteen_www
  - sensor.cert_nxfifteen_xyz
  - sensor.cert_nxfifteen_your
  - sensor.cert_anderson_ha
  - sensor.cert_anderson_ha_grocy
  - sensor.cert_anderson_ha_node
  - sensor.cert_anderson_ha_proxy
  - sensor.cert_synology_stuartma
  below: 5
action:
  - service: script.notify_join
    data_template:
      who: "stuart"
      title: 'Parking Spot Saved'
      notification_id: "hass-sslwatch"
      value1: '{{ trigger.to_state.attributes.friendly_name }} is about to expire. Please investigate IMMEDIATELY.'
  - service: notify.signal_stuart
    data:
      message: '{{ trigger.to_state.attributes.friendly_name }} is about to expire. Please investigate IMMEDIATELY.'

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.