mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-11-07 09:58:17 +00:00
More contol over the interior and exterior lights
This commit is contained in:
@@ -15,19 +15,15 @@
|
||||
state: not_home
|
||||
|
||||
condition:
|
||||
condition: and
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: not_home
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: group.family
|
||||
state: 'not_home '
|
||||
- condition: state
|
||||
entity_id: input_boolean.guest_mode
|
||||
state: 'off'
|
||||
|
||||
action:
|
||||
- service: light.turn_off
|
||||
entity_id: group.interior_lights
|
||||
- service: script.switch_turn_off_all
|
||||
- service: script.interior_off
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user