Add a Guest mode to the House! Boom!

pull/76/head
CCOSTAN 9 years ago
parent 62aa08ba75
commit 6293c7a50b

@ -15,9 +15,13 @@
state: not_home
condition:
condition: state
entity_id: group.family
state: not_home
- condition: state
entity_id: group.family
state: not_home
- condition:
platform: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: light.turn_off

@ -21,6 +21,10 @@
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition:
platform: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
service: scene.turn_on

@ -10,7 +10,11 @@
- condition: state
entity_id: sun.sun
state: 'below_horizon'
- condition:
platform: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
service: light.turn_off
entity_id:

@ -13,6 +13,7 @@ http:
frontend:
group: !include_dir_merge_named group
device_tracker: !include_dir_merge_list device_tracker
input_boolean: !include_dir_merge_named input_boolean
discovery:
updater:
sun:

@ -6,4 +6,8 @@ sensor.since_last_boot:
hidden: true
sensor.badlogin:
hidden: true
hidden: true
input_boolean.guest_mode:
friendly_name: 'Guest Mode'
icon: mdi:account-alert

@ -0,0 +1,7 @@
###################################
## Guest Mode Override
###################################
guest_mode:
icon: mdi:account-alert
initial: off
Loading…
Cancel
Save

Powered by TurnKey Linux.