Merge work automations
This commit is contained in:
parent
f032ebaa5d
commit
6f6694118c
4 changed files with 71 additions and 35 deletions
23
configuration/automations/ac.yaml
Normal file
23
configuration/automations/ac.yaml
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
- id: ac_computer_cave
|
||||||
|
alias: '[AC] Computer cave too hot'
|
||||||
|
description: ''
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: numeric_state
|
||||||
|
entity_id: sensor.ble_temperature_computer_cave_sensor
|
||||||
|
above: '26'
|
||||||
|
for: 1m
|
||||||
|
condition:
|
||||||
|
- condition: state
|
||||||
|
entity_id: device_tracker.przemyslaws_iphone
|
||||||
|
state: home
|
||||||
|
action:
|
||||||
|
- service: climate.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: climate.ac
|
||||||
|
- service: climate.set_temperature
|
||||||
|
data:
|
||||||
|
temperature: 24
|
||||||
|
hvac_mode: cool
|
||||||
|
target:
|
||||||
|
entity_id: climate.ac
|
|
@ -1,34 +0,0 @@
|
||||||
- id: work_finished
|
|
||||||
alias: '[Work] Notify when finished work'
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '17:00'
|
|
||||||
condition:
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
action:
|
|
||||||
- service: vacuum.start
|
|
||||||
entity_id: vacuum.robot_vacuum
|
|
||||||
- service: light.turn_on
|
|
||||||
data:
|
|
||||||
brightness: 200
|
|
||||||
rgb_color:
|
|
||||||
- 0
|
|
||||||
- 200
|
|
||||||
- 83
|
|
||||||
entity_id: light.computer_lights
|
|
||||||
- service: light.turn_on
|
|
||||||
data:
|
|
||||||
flash: long
|
|
||||||
brightness: 200
|
|
||||||
rgb_color:
|
|
||||||
- 0
|
|
||||||
- 200
|
|
||||||
- 83
|
|
||||||
entity_id: light.computer_lights
|
|
||||||
mode: single
|
|
|
@ -58,5 +58,40 @@
|
||||||
- delay: 5
|
- delay: 5
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: light.computer_lights
|
entity_id: light.computer_lights
|
||||||
|
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
|
- id: work_finished
|
||||||
|
alias: '[Work] Notify when finished work'
|
||||||
|
trigger:
|
||||||
|
- platform: time
|
||||||
|
at: '17:00'
|
||||||
|
condition:
|
||||||
|
- condition: time
|
||||||
|
weekday:
|
||||||
|
- mon
|
||||||
|
- tue
|
||||||
|
- wed
|
||||||
|
- thu
|
||||||
|
- fri
|
||||||
|
action:
|
||||||
|
- service: vacuum.start
|
||||||
|
entity_id: vacuum.robot_vacuum
|
||||||
|
- service: light.turn_on
|
||||||
|
data:
|
||||||
|
brightness: 200
|
||||||
|
rgb_color:
|
||||||
|
- 0
|
||||||
|
- 200
|
||||||
|
- 83
|
||||||
|
entity_id: light.computer_lights
|
||||||
|
- service: light.turn_on
|
||||||
|
data:
|
||||||
|
flash: long
|
||||||
|
brightness: 200
|
||||||
|
rgb_color:
|
||||||
|
- 0
|
||||||
|
- 200
|
||||||
|
- 83
|
||||||
|
entity_id: light.computer_lights
|
||||||
|
mode: single
|
||||||
|
|
|
@ -28,6 +28,18 @@ zwave:
|
||||||
mqtt:
|
mqtt:
|
||||||
broker: 127.0.0.1
|
broker: 127.0.0.1
|
||||||
|
|
||||||
|
ios:
|
||||||
|
actions:
|
||||||
|
- name: door_lock
|
||||||
|
text: Front Door
|
||||||
|
background_color: "#000000"
|
||||||
|
label:
|
||||||
|
text: "Door Lock"
|
||||||
|
color: "#000000"
|
||||||
|
icon:
|
||||||
|
icon: lock-open
|
||||||
|
color: "#ffffff"
|
||||||
|
|
||||||
octoprint:
|
octoprint:
|
||||||
host: prusa.lan
|
host: prusa.lan
|
||||||
port: 5000
|
port: 5000
|
||||||
|
|
Loading…
Reference in a new issue