#153 more transitioning hidden booleans to script variables.

This commit is contained in:
CCOSTAN 2017-05-03 21:01:34 +00:00
parent 9242bdcfc8
commit aaa36771f6
4 changed files with 2 additions and 13 deletions

View File

@ -20,10 +20,10 @@
- service: input_boolean.turn_on
entity_id:
- input_boolean.lights_status
- input_boolean.garage_check
- service: script.Voice_notify
data:
call_inside_weather: 1
call_responsibilities: 1
call_outside_weather: 1
call_garage_check: 1

View File

@ -22,11 +22,6 @@ input_boolean.flash:
input_boolean.garage_check:
friendly_name: 'Garage Check'
emulated_hue: True
hidden: False
input_boolean.good_morning:
friendly_name: 'Good Morning'

View File

@ -14,9 +14,3 @@ medicine:
lights_status:
name: Lights Status
initial: off
garage_check:
name: Garage Check
initial: off

View File

@ -183,7 +183,7 @@ voice_notify:
{{ DoorOpened }}
{{ DoorClosed }}
{% if is_state('input_boolean.garage_check', 'on') or is_state('sun.sun', 'below_horizon') %}
{% if call_garage_check == 1 or is_state('sun.sun', 'below_horizon') %}
{{garage_check()}}
{%endif%}
{{ NewDevice}}