mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-09-06 18:08:45 +00:00
Refactor conditions and triggers based on sun
This commit is contained in:
@@ -5,11 +5,9 @@ automation:
|
||||
entity_id: binary_sensor.motion_2_ias_zone
|
||||
to: "on"
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: 'day'
|
||||
condition: state
|
||||
entity_id: input_select.house_mode
|
||||
state: 'day'
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id: light.hallway_all_lights
|
||||
|
||||
Reference in New Issue
Block a user