1
0
Fork 0

Compare commits

...

2 commits

Author SHA1 Message Date
8b08b246ee Change illuminance threshold for hallway and kitchen automations 2023-04-25 17:17:03 +02:00
3b5e742d67 Remove Room-Assistant automations
They weren't used anyway
2023-04-25 14:59:46 +02:00
3 changed files with 2 additions and 79 deletions

View file

@ -35,7 +35,7 @@
condition:
- condition: numeric_state
entity_id: sensor.office_illuminance
below: '200'
below: '400'
action:
- service: script.hallway_lights_on

View file

@ -17,7 +17,7 @@
- conditions:
- condition: numeric_state
entity_id: sensor.office_illuminance
below: '200'
below: '400'
sequence:
- service: script.kitchen_lights_on

View file

@ -1,77 +0,0 @@
- id: ra-bathroom-enter
alias: '[Bathroom]|(RA) Enter'
mode: single
trigger:
- platform: state
entity_id: sensor.przemyslaws_apple_watch_room_presence
to: ra-bathroom
action:
- service: notify.mobile_app_iphone
data:
message: Apple Watch enter bathroom
- id: ra-bathroom-exit
alias: '[Bathroom]|(RA) Leave'
mode: single
trigger:
- platform: state
entity_id: sensor.przemyslaws_apple_watch_room_presence
from: ra-bathroom
action:
- service: notify.mobile_app_iphone
data:
message: Apple Watch left bathroom
- choose:
- conditions:
- condition: state
entity_id: media_player.bathroom
state: playing
sequence:
- service: media_player.media_pause
target:
entity_id: media_player.bathroom
- id: ra-bedroom-enter
alias: '[Bedroom]|(RA) Enter'
mode: single
trigger:
- platform: state
entity_id: sensor.przemyslaws_apple_watch_room_presence
to: ra-bedroom
action:
- service: notify.mobile_app_iphone
data:
message: Apple Watch enter bathroom
- id: ra-bedroom-exit
alias: '[Bedroom]|(RA) Leave'
mode: single
trigger:
- platform: state
entity_id: sensor.przemyslaws_apple_watch_room_presence
from: ra-bedroom
action:
- service: notify.mobile_app_iphone
data:
message: Apple Watch left bedroom
- choose:
- conditions:
- condition: state
entity_id: media_player.bedroom
state: playing
sequence:
- service: media_player.media_pause
target:
entity_id: media_player.bathroom
- id: ra-home-leave
alias: '[Bedroom]|(RA) Enter'
mode: single
trigger:
- platform: state
entity_id: sensor.przemyslaws_apple_watch_room_presence
to: not_home
action:
- service: notify.mobile_app_iphone
data:
message: Apple Watch left home