mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-02-13 13:29:12 +00:00
#153 more transitioning hidden booleans to script variables.
This commit is contained in:
parent
9242bdcfc8
commit
aaa36771f6
@ -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
|
||||
|
@ -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'
|
||||
|
@ -14,9 +14,3 @@ medicine:
|
||||
lights_status:
|
||||
name: Lights Status
|
||||
initial: off
|
||||
|
||||
|
||||
|
||||
garage_check:
|
||||
name: Garage Check
|
||||
initial: off
|
||||
|
@ -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}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user