Compare commits
No commits in common. "b4f47ca8d01c6e9cb11fc9103b7e3a475f104109" and "d20c86772436d32b5051393b4c1766d9be97bb5d" have entirely different histories.
b4f47ca8d0
...
d20c867724
@ -3,7 +3,7 @@
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- lock.front_door_lock_doorlock
|
||||
- lock.front_door_25f246fe_door_lock
|
||||
to: unlocked
|
||||
condition:
|
||||
- condition: not
|
||||
@ -29,12 +29,12 @@
|
||||
- repeat:
|
||||
until:
|
||||
- condition: state
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
state: locked
|
||||
sequence:
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- service: notify.mobile_app_iphone
|
||||
data:
|
||||
title: "Door locked back"
|
||||
|
@ -50,7 +50,7 @@
|
||||
to: 'on'
|
||||
# Use lock
|
||||
- platform: state
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
to: 'unlocked'
|
||||
condition:
|
||||
- condition: state
|
||||
|
@ -22,10 +22,10 @@
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '150'
|
||||
below: '160'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 5
|
||||
minutes: 2
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: or
|
||||
@ -39,9 +39,6 @@
|
||||
- condition: state
|
||||
entity_id: device_tracker.amdn4684
|
||||
state: 'home'
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: script.office_lights_on
|
||||
|
||||
@ -72,24 +69,11 @@
|
||||
minutes: 1
|
||||
seconds: 0
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: cover.office_blinds
|
||||
attribute: current_position
|
||||
above: 49
|
||||
sequence:
|
||||
- service: cover.set_cover_position
|
||||
data:
|
||||
position: 50
|
||||
target:
|
||||
entity_id: cover.office_blinds
|
||||
default:
|
||||
- service: cover.open_cover
|
||||
target:
|
||||
entity_id:
|
||||
- cover.dining_blinds
|
||||
- service: script.office_blinds_up
|
||||
- service: cover.open_cover
|
||||
target:
|
||||
entity_id:
|
||||
- cover.dining_blinds
|
||||
- service: script.office_blinds_up
|
||||
|
||||
- id: brightness-bright
|
||||
alias: '[Brightness] Bright - close covers'
|
||||
|
@ -4,7 +4,7 @@
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
to: unlocked
|
||||
for:
|
||||
hours: 0
|
||||
|
@ -19,7 +19,7 @@
|
||||
to: 'off'
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
|
||||
- id: hallway-front-door-button-unlock
|
||||
alias: '[Front Door] Button Unlock'
|
||||
@ -38,4 +38,4 @@
|
||||
action:
|
||||
- service: lock.unlock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
|
@ -10,20 +10,20 @@
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
state: locked
|
||||
sequence:
|
||||
- service: lock.unlock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
state: unlocked
|
||||
sequence:
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
|
||||
- id: ios-good-night
|
||||
alias: '[ios] Good Night'
|
||||
|
@ -10,7 +10,7 @@
|
||||
action:
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
|
||||
- id: mobile_action-unlock_door
|
||||
alias: '[Mobile-action] Unlock door'
|
||||
@ -24,7 +24,7 @@
|
||||
action:
|
||||
- service: lock.unlock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
|
||||
- id: mobile_action-leave_home
|
||||
alias: '[Mobile-action] Leave home automation'
|
||||
|
@ -7,20 +7,20 @@
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
state: unlocked
|
||||
sequence:
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- service: script.leave_home
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
state: locked
|
||||
sequence:
|
||||
- service: lock.unlock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- service: script.arrive_home
|
||||
mode: single
|
||||
|
@ -44,7 +44,7 @@ good_night:
|
||||
- cover.office_blinds
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
@ -138,7 +138,7 @@ leave_home:
|
||||
- service: script.pc_sleep
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_lock_doorlock
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- service: script.tv_off
|
||||
- service: climate.turn_off
|
||||
target:
|
||||
|
Loading…
Reference in New Issue
Block a user