mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-07-09 08:56:46 +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
|
- service: input_boolean.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
- input_boolean.lights_status
|
- input_boolean.lights_status
|
||||||
- input_boolean.garage_check
|
|
||||||
|
|
||||||
- service: script.Voice_notify
|
- service: script.Voice_notify
|
||||||
data:
|
data:
|
||||||
call_inside_weather: 1
|
call_inside_weather: 1
|
||||||
call_responsibilities: 1
|
call_responsibilities: 1
|
||||||
call_outside_weather: 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:
|
input_boolean.good_morning:
|
||||||
friendly_name: 'Good Morning'
|
friendly_name: 'Good Morning'
|
||||||
|
@ -14,9 +14,3 @@ medicine:
|
|||||||
lights_status:
|
lights_status:
|
||||||
name: Lights Status
|
name: Lights Status
|
||||||
initial: off
|
initial: off
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
garage_check:
|
|
||||||
name: Garage Check
|
|
||||||
initial: off
|
|
||||||
|
@ -183,7 +183,7 @@ voice_notify:
|
|||||||
|
|
||||||
{{ DoorOpened }}
|
{{ DoorOpened }}
|
||||||
{{ DoorClosed }}
|
{{ 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()}}
|
{{garage_check()}}
|
||||||
{%endif%}
|
{%endif%}
|
||||||
{{ NewDevice}}
|
{{ NewDevice}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user