Try to suck less with the previous commit
This commit is contained in:
@ -4106,25 +4106,28 @@
|
|||||||
entity_id: input_boolean.kallen_at_school
|
entity_id: input_boolean.kallen_at_school
|
||||||
state: 'on'
|
state: 'on'
|
||||||
action:
|
action:
|
||||||
- alias: If Kallen has his phone, don't run at school end time
|
- alias: When triggered by school end
|
||||||
if:
|
if:
|
||||||
- condition: and
|
- condition: trigger
|
||||||
conditions:
|
id:
|
||||||
- condition: trigger
|
- school-end
|
||||||
id:
|
|
||||||
- school-end
|
|
||||||
- alias: If Kallen has his phone, or one of us is picking him up
|
|
||||||
condition: or
|
|
||||||
conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.kallen_has_phone
|
|
||||||
state: 'on'
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.kallen_alternate_pickup
|
|
||||||
state: 'off'
|
|
||||||
alias: Conditions for pickup
|
|
||||||
then:
|
then:
|
||||||
- stop: Will use location triggers instead.
|
- if:
|
||||||
|
- condition: and
|
||||||
|
conditions:
|
||||||
|
- alias: If Kallen has his phone, or one of us is picking him up
|
||||||
|
condition: or
|
||||||
|
conditions:
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.kallen_has_phone
|
||||||
|
state: 'on'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.kallen_alternate_pickup
|
||||||
|
state: 'off'
|
||||||
|
alias: Conditions for pickup
|
||||||
|
then:
|
||||||
|
- stop: Will use location triggers instead.
|
||||||
|
alias: If Kallen has his phone, or we are picking him up
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id: input_boolean.kallen_at_school
|
entity_id: input_boolean.kallen_at_school
|
||||||
alias: Turn off Kallen At School
|
alias: Turn off Kallen At School
|
||||||
|
Reference in New Issue
Block a user