Vacation tweaks, close #125

This commit is contained in:
2023-09-12 12:20:41 -04:00
parent 67b854a525
commit 8884cd123a

View File

@ -782,7 +782,7 @@ automation:
{% from 'time.jinja' import ct %} {% from 'time.jinja' import ct %}
{% set begin = state_attr('input_datetime.audible_notification_on','timestamp') %} {% set begin = state_attr('input_datetime.audible_notification_on','timestamp') %}
{% set end = state_attr('input_datetime.audible_notification_off','timestamp') %} {% set end = state_attr('input_datetime.audible_notification_off','timestamp') %}
{% set ct = ct() %} {% set ct = ct() | int %}
{{ begin < ct < end }} {{ begin < ct < end }}
then: then:
- service: input_boolean.turn_on - service: input_boolean.turn_on
@ -815,7 +815,7 @@ automation:
- condition: trigger - condition: trigger
id: night-off id: night-off
sequence: sequence:
- service: light.turn_on - service: light.turn_off
target: target:
entity_id: light.front_porch_light entity_id: light.front_porch_light