FIXED THE ha STARTUP TIMES. Added jinja code from @skalavala

This commit is contained in:
CCOSTAN
2017-03-29 15:38:44 +00:00
parent 64a492e3d8
commit 10a1210d58
2 changed files with 21 additions and 2 deletions

View File

@@ -9,5 +9,5 @@
- platform: template
sensors:
ha_last_restart:
value_template: '{{ as_timestamp(states.automation.startup_notification.attributes.last_triggered) | timestamp_custom("%b %d %X") }}'
value_template: '{{ as_timestamp(states.automation.startup_notification_and_shut_startup_lights.attributes.last_triggered) | timestamp_custom("%b %d %X") }}'
friendly_name: HA Last Restart