More contol over the interior and exterior lights

This commit is contained in:
CCOSTAN
2016-12-13 01:18:44 +00:00
parent f663b9edb8
commit 0de6af05cb
4 changed files with 45 additions and 24 deletions

View File

@@ -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