mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-28 03:37:06 +00:00
Merge pull request #4724 from home-assistant/c727-patch-1
Fix indents in lets_encrypt automation example
This commit is contained in:
commit
e9e4307930
@ -538,13 +538,13 @@ In your `configuration.yaml` add the following automation, adding your preferred
|
|||||||
automation:
|
automation:
|
||||||
- alias: 'SSL expiry notification'
|
- alias: 'SSL expiry notification'
|
||||||
trigger:
|
trigger:
|
||||||
platform: numeric_state
|
platform: numeric_state
|
||||||
entity_id: sensor.ssl_cert_expiry
|
entity_id: sensor.ssl_cert_expiry
|
||||||
below: 21
|
below: 21
|
||||||
action:
|
action:
|
||||||
service: notify.[your_notification_preference]
|
service: notify.[your_notification_preference]
|
||||||
data:
|
data:
|
||||||
message: 'Warning - SSL certificate expires in 21 days and has not been automatically renewed'
|
message: 'Warning - SSL certificate expires in 21 days and has not been automatically renewed'
|
||||||
```
|
```
|
||||||
|
|
||||||
If you receive this warning notification, follow the steps for a manual update from step 8. Any error messages received at that point can be googled and resolved. If the manual update goes without a hitch there may be something wrong with your chosen method for automatic updates, and you can start troubleshooting from there.
|
If you receive this warning notification, follow the steps for a manual update from step 8. Any error messages received at that point can be googled and resolved. If the manual update goes without a hitch there may be something wrong with your chosen method for automatic updates, and you can start troubleshooting from there.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user