1
0

Merge work automations

This commit is contained in:
pgrondek 2021-06-15 09:32:51 +02:00
parent f032ebaa5d
commit 6f6694118c
4 changed files with 71 additions and 35 deletions

View 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

View File

@ -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

View File

@ -58,5 +58,40 @@
- delay: 5
- service: light.turn_off
entity_id: light.computer_lights
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

View File

@ -28,6 +28,18 @@ zwave:
mqtt:
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:
host: prusa.lan
port: 5000