Merge pull request #4724 from home-assistant/c727-patch-1

Fix indents in lets_encrypt automation example
This commit is contained in:
DubhAd 2018-02-21 07:16:27 +00:00 committed by GitHub
commit e9e4307930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.