1
0

Compare commits

...

3 Commits

2 changed files with 34 additions and 13 deletions

View File

@ -45,12 +45,14 @@
- service: notify.mobile_app_iphone
data:
message: 3D printer has finished
data:
entity_id: camera.3d_printer
url: "/lovelace-tablet/3d-printer"
- service: camera.snapshot
data:
filename: /config/www/cctv/3d_printer.jpg
target:
entity_id: camera.hallway
entity_id: camera.3d_printer
- service: notify.home_assistant
data:
message: "3D Printer has finished"
@ -161,5 +163,8 @@
action:
- service: notify.mobile_app_iphone
data:
message: Print has been paused
title: Prusa i3
title: Prusa i3 MMU
message: 3D Print has been paused
data:
entity_id: camera.3d_printer
url: "/lovelace-tablet/3d-printer"

View File

@ -1,4 +1,4 @@
- id: brightness-dark
- id: office-brightness-dark
alias: '[Brightness] Dark - close covers'
mode: single
trigger:
@ -9,6 +9,10 @@
hours: 0
minutes: 1
seconds: 0
condition:
- condition: state
entity_id: input_select.home_mode
state: Day
action:
- service: cover.close_cover
target:
@ -16,7 +20,7 @@
- cover.office_blinds
- cover.dining_blinds
- id: brightness-dark-lights-on
- id: office-brightness-dark-lights-on
alias: '[Brightness] Dark - turn on lights'
mode: single
trigger:
@ -45,7 +49,7 @@
action:
- service: script.office_lights_on
- id: brightness-ok-lights-off
- id: office-brightness-ok-lights-off
alias: '[Brightness] Dark - turn off lights'
mode: single
trigger:
@ -56,17 +60,21 @@
hours: 0
minutes: 1
seconds: 0
condition:
- condition: state
entity_id: input_select.home_mode
state: Day
action:
- service: script.office_lights_off
- id: brightness-ok
- id: office-brightness-ok
alias: '[Brightness] OK - open covers'
mode: single
trigger:
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '150'
below: '800'
for:
hours: 0
minutes: 0
@ -74,7 +82,7 @@
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '150'
below: '800'
for:
hours: 0
minutes: 1
@ -82,7 +90,7 @@
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '150'
below: '800'
for:
hours: 0
minutes: 2
@ -90,11 +98,15 @@
- platform: numeric_state
entity_id: sensor.office_illuminance
above: '30'
below: '150'
below: '800'
for:
hours: 0
minutes: 3
seconds: 0
condition:
- condition: state
entity_id: input_select.home_mode
state: Day
action:
- choose:
- conditions:
@ -115,7 +127,7 @@
- cover.dining_blinds
- service: script.office_blinds_up
- id: brightness-bright
- id: office-brightness-bright
alias: '[Brightness] Bright - close covers'
mode: single
trigger:
@ -126,6 +138,10 @@
hours: 0
minutes: 1
seconds: 0
condition:
- condition: state
entity_id: input_select.home_mode
state: Day
action:
- service: cover.close_cover
target: