Compare commits
3 Commits
46bfa9c01d
...
020189b1d7
Author | SHA1 | Date | |
---|---|---|---|
020189b1d7 | |||
94d7100ebf | |||
ac24a3b7c0 |
@ -48,7 +48,6 @@
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
|
||||
|
||||
- id: ac-turn-off
|
||||
alias: '[AC] Turn off when windows are open'
|
||||
mode: single
|
||||
|
75
configuration/automations/bedroom-ac.yaml
Normal file
75
configuration/automations/bedroom-ac.yaml
Normal file
@ -0,0 +1,75 @@
|
||||
- id: bedroom-ac-turn-on
|
||||
alias: '[AC][Bedroom] Turn on AC when it is hot in bedroom'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.ble_temperature_bedroom_sensor_ble
|
||||
above: '26'
|
||||
for:
|
||||
minutes: 15
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.bedroom_air_purifier_temperature
|
||||
above: '26'
|
||||
for:
|
||||
minutes: 15
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Night
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: climate.ac
|
||||
state: cool
|
||||
sequence:
|
||||
- service: climate.set_temperature
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
data:
|
||||
temperature: "{{ state_attr('climate.ac', 'temperature') -1 }} "
|
||||
default:
|
||||
- service: climate.turn_on
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
- service: climate.set_temperature
|
||||
data:
|
||||
temperature: 24
|
||||
hvac_mode: cool
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
|
||||
- id: bedroom-ac-turn-off
|
||||
alias: '[AC][Bedroom] Turn off AC when it is cold in bedroom'
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.ble_temperature_bedroom_sensor_ble
|
||||
below: '23'
|
||||
for:
|
||||
minutes: 15
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.bedroom_air_purifier_temperature
|
||||
below: '26'
|
||||
for:
|
||||
minutes: 15
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Night
|
||||
action:
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: state
|
||||
entity_id: climate.ac
|
||||
attribute: temperature
|
||||
state: '25'
|
||||
sequence:
|
||||
- service: climate.turn_off
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
default:
|
||||
- service: climate.set_temperature
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
data:
|
||||
temperature: "{{ state_attr('climate.ac', 'temperature') + 1 }} "
|
@ -4,7 +4,7 @@
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '20'
|
||||
below: '25'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 1
|
||||
@ -16,6 +16,36 @@
|
||||
- cover.office_blinds
|
||||
- cover.dining_blinds
|
||||
|
||||
- id: brightness-dark-lights-on
|
||||
alias: '[Brightness] Dark - turn on lights'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.office_illuminance
|
||||
below: '50'
|
||||
for:
|
||||
hours: 0
|
||||
minutes: 1
|
||||
seconds: 0
|
||||
condition:
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.hulk_ping
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.hawkeye_ping
|
||||
state: 'on'
|
||||
- condition: state
|
||||
entity_id: device_tracker.amdn4684
|
||||
state: 'home'
|
||||
action:
|
||||
- service: cover.close_cover
|
||||
target:
|
||||
entity_id:
|
||||
- cover.office_blinds
|
||||
- cover.dining_blinds
|
||||
|
||||
- id: brightness-ok
|
||||
alias: '[Brightness] OK'
|
||||
mode: single
|
||||
|
58
configuration/automations/steam.yaml
Normal file
58
configuration/automations/steam.yaml
Normal file
@ -0,0 +1,58 @@
|
||||
- id: steam-hue-sync-racing
|
||||
alias: '[Steam] Set Hue sync to racing profile'
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
to: Forza Horizon 5
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
to: F1 2020
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
to: F1 2021
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: huesyncbox.set_entertainment_area
|
||||
data:
|
||||
entertainment_area: Racing
|
||||
target:
|
||||
entity_id: media_player.sync_box
|
||||
|
||||
- id: steam-hue-sync-normal
|
||||
alias: '[Steam] Set hue sync back'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
from: Forza Horizon 5
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
from: F1 2020
|
||||
- platform: state
|
||||
entity_id:
|
||||
- sensor.steam_76561197977004595
|
||||
attribute: game
|
||||
from: F1 2021
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: input_select.home_mode
|
||||
state: Day
|
||||
action:
|
||||
- service: huesyncbox.set_entertainment_area
|
||||
data:
|
||||
entertainment_area: TV Lights
|
||||
target:
|
||||
entity_id: media_player.sync_box
|
@ -493,6 +493,9 @@ binary_sensor:
|
||||
- name: Banner Ping
|
||||
platform: ping
|
||||
host: 192.168.50.22
|
||||
- name: Hawkeye Ping
|
||||
platform: ping
|
||||
host: 192.168.50.23
|
||||
|
||||
switch:
|
||||
# - platform: zoneminder
|
||||
|
@ -45,6 +45,12 @@ good_night:
|
||||
- service: lock.lock
|
||||
target:
|
||||
entity_id: lock.front_door_25f246fe_door_lock
|
||||
- choose:
|
||||
- conditions:
|
||||
- condition: numeric_state
|
||||
entity_id: sensor.ble_temperature_bedroom_sensor_ble
|
||||
below: '26'
|
||||
sequence:
|
||||
- service: climate.turn_off
|
||||
target:
|
||||
entity_id: climate.ac
|
||||
|
Loading…
Reference in New Issue
Block a user