1
0

Compare commits

...

3 Commits

Author SHA1 Message Date
b4f47ca8d0 Change front door lock id 2022-10-20 19:11:59 +02:00
d09db0ffc8 Update brightness blinds up 2022-10-19 22:47:50 +02:00
d0ad02b118 Update brightness 2022-10-19 22:44:51 +02:00
9 changed files with 42 additions and 26 deletions

View File

@ -3,7 +3,7 @@
trigger: trigger:
- platform: state - platform: state
entity_id: entity_id:
- lock.front_door_25f246fe_door_lock - lock.front_door_lock_doorlock
to: unlocked to: unlocked
condition: condition:
- condition: not - condition: not
@ -29,12 +29,12 @@
- repeat: - repeat:
until: until:
- condition: state - condition: state
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
state: locked state: locked
sequence: sequence:
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- service: notify.mobile_app_iphone - service: notify.mobile_app_iphone
data: data:
title: "Door locked back" title: "Door locked back"

View File

@ -50,7 +50,7 @@
to: 'on' to: 'on'
# Use lock # Use lock
- platform: state - platform: state
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
to: 'unlocked' to: 'unlocked'
condition: condition:
- condition: state - condition: state

View File

@ -22,10 +22,10 @@
trigger: trigger:
- platform: numeric_state - platform: numeric_state
entity_id: sensor.office_illuminance entity_id: sensor.office_illuminance
below: '160' below: '150'
for: for:
hours: 0 hours: 0
minutes: 2 minutes: 5
seconds: 0 seconds: 0
condition: condition:
- condition: or - condition: or
@ -39,6 +39,9 @@
- condition: state - condition: state
entity_id: device_tracker.amdn4684 entity_id: device_tracker.amdn4684
state: 'home' state: 'home'
- condition: state
entity_id: input_select.home_mode
state: Day
action: action:
- service: script.office_lights_on - service: script.office_lights_on
@ -69,6 +72,19 @@
minutes: 1 minutes: 1
seconds: 0 seconds: 0
action: 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 - service: cover.open_cover
target: target:
entity_id: entity_id:

View File

@ -4,7 +4,7 @@
mode: single mode: single
trigger: trigger:
- platform: state - platform: state
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
to: unlocked to: unlocked
for: for:
hours: 0 hours: 0

View File

@ -19,7 +19,7 @@
to: 'off' to: 'off'
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- id: hallway-front-door-button-unlock - id: hallway-front-door-button-unlock
alias: '[Front Door] Button Unlock' alias: '[Front Door] Button Unlock'
@ -38,4 +38,4 @@
action: action:
- service: lock.unlock - service: lock.unlock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock

View File

@ -10,20 +10,20 @@
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
state: locked state: locked
sequence: sequence:
- service: lock.unlock - service: lock.unlock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- conditions: - conditions:
- condition: state - condition: state
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
state: unlocked state: unlocked
sequence: sequence:
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- id: ios-good-night - id: ios-good-night
alias: '[ios] Good Night' alias: '[ios] Good Night'

View File

@ -10,7 +10,7 @@
action: action:
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- id: mobile_action-unlock_door - id: mobile_action-unlock_door
alias: '[Mobile-action] Unlock door' alias: '[Mobile-action] Unlock door'
@ -24,7 +24,7 @@
action: action:
- service: lock.unlock - service: lock.unlock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- id: mobile_action-leave_home - id: mobile_action-leave_home
alias: '[Mobile-action] Leave home automation' alias: '[Mobile-action] Leave home automation'

View File

@ -7,20 +7,20 @@
- choose: - choose:
- conditions: - conditions:
- condition: state - condition: state
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
state: unlocked state: unlocked
sequence: sequence:
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- service: script.leave_home - service: script.leave_home
- conditions: - conditions:
- condition: state - condition: state
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
state: locked state: locked
sequence: sequence:
- service: lock.unlock - service: lock.unlock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- service: script.arrive_home - service: script.arrive_home
mode: single mode: single

View File

@ -44,7 +44,7 @@ good_night:
- cover.office_blinds - cover.office_blinds
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- choose: - choose:
- conditions: - conditions:
- condition: numeric_state - condition: numeric_state
@ -138,7 +138,7 @@ leave_home:
- service: script.pc_sleep - service: script.pc_sleep
- service: lock.lock - service: lock.lock
target: target:
entity_id: lock.front_door_25f246fe_door_lock entity_id: lock.front_door_lock_doorlock
- service: script.tv_off - service: script.tv_off
- service: climate.turn_off - service: climate.turn_off
target: target: