I would like to use the sensor: Certificate Expiry
How to set it up for multiple domains?
Sorry.
Just found the answer.
Add multiple times in configuration.yaml:
customize: !include customize.yaml
sensor:
- platform: cert_expiry
host: domain1.com
- platform: cert_expiry
host: domain2.com
In customize.yaml:
sensor.ssl_certificate_expiry:
friendly_name: SSL domain2.com
sensor.ssl_certificate_expiry_2:
friendly_name: SSL domain2.com
Can be even easier - no need for customize.yaml:
sensor:
- platform: cert_expiry
host: domain1.com
name: SSL domain1.com
- platform: cert_expiry
host: domain2.com
name: SSL domain2.com
1 Like