Removed redundant conditions already covered by Speech Engine
This commit is contained in:
@ -121,9 +121,6 @@ automation:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.kallen_overnight
|
entity_id: input_boolean.kallen_overnight
|
||||||
state: 'off'
|
state: 'off'
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
state: 'off'
|
|
||||||
action:
|
action:
|
||||||
- service: script.kallen_nightly_briefing
|
- service: script.kallen_nightly_briefing
|
||||||
data:
|
data:
|
||||||
@ -134,13 +131,6 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.daily_report
|
at: input_datetime.daily_report
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.people_present
|
|
||||||
state: 'on'
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
state: 'off'
|
|
||||||
action:
|
action:
|
||||||
- service: script.daily_briefing
|
- service: script.daily_briefing
|
||||||
data:
|
data:
|
||||||
@ -172,13 +162,6 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.morning_report
|
at: input_datetime.morning_report
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.people_present
|
|
||||||
state: 'on'
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
state: 'off'
|
|
||||||
action:
|
action:
|
||||||
- service: script.morning_report
|
- service: script.morning_report
|
||||||
data:
|
data:
|
||||||
@ -189,13 +172,6 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
platform: time
|
platform: time
|
||||||
at: input_datetime.nightly_report
|
at: input_datetime.nightly_report
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.people_present
|
|
||||||
state: 'on'
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
state: 'off'
|
|
||||||
action:
|
action:
|
||||||
- service: script.nightly_briefing
|
- service: script.nightly_briefing
|
||||||
data:
|
data:
|
||||||
@ -324,9 +300,6 @@ script:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.welcome_home
|
entity_id: input_boolean.welcome_home
|
||||||
state: 'on'
|
state: 'on'
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.vacation_mode
|
|
||||||
state: 'off'
|
|
||||||
- wait_template: "{{ is_state('binary_sensor.front_door','on') }}"
|
- wait_template: "{{ is_state('binary_sensor.front_door','on') }}"
|
||||||
timeout:
|
timeout:
|
||||||
minutes: 10
|
minutes: 10
|
||||||
|
Reference in New Issue
Block a user