Formatting
This commit is contained in:
@ -1311,8 +1311,14 @@
|
|||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: '{% set rearm = state_attr(''input_datetime.morning_alarm_rearm'',''timestamp'')
|
value_template: '{% set rearm = state_attr(''input_datetime.morning_alarm_rearm'',''timestamp'')
|
||||||
%} {% set wake = state_attr(''input_datetime.master_bedroom_wakeup'',''timestamp'')
|
%}
|
||||||
%} {% set diff = wake - rearm %} {{ diff > 1800 }}
|
|
||||||
|
{% set wake = state_attr(''input_datetime.master_bedroom_wakeup'',''timestamp'')
|
||||||
|
%}
|
||||||
|
|
||||||
|
{% set diff = wake - rearm %}
|
||||||
|
|
||||||
|
{{ diff > 1800 }}
|
||||||
|
|
||||||
'
|
'
|
||||||
action:
|
action:
|
||||||
|
Reference in New Issue
Block a user