Add 3d printer notifications to discord
This commit is contained in:
parent
c545987e12
commit
cb20c222d3
@ -37,10 +37,27 @@
|
|||||||
- platform: state
|
- platform: state
|
||||||
entity_id: sensor.octoprint_job_percentage
|
entity_id: sensor.octoprint_job_percentage
|
||||||
to: '100.0'
|
to: '100.0'
|
||||||
|
- platform: state
|
||||||
|
entity_id:
|
||||||
|
- sensor.octoprint_target_bed_temp
|
||||||
|
to: "0"
|
||||||
action:
|
action:
|
||||||
- service: notify.mobile_app_iphone
|
- service: notify.mobile_app_iphone
|
||||||
data:
|
data:
|
||||||
message: 3D printer has finished
|
message: 3D printer has finished
|
||||||
|
entity_id: camera.3d_printer
|
||||||
|
- service: camera.snapshot
|
||||||
|
data:
|
||||||
|
filename: /config/www/cctv/3d_printer.jpg
|
||||||
|
target:
|
||||||
|
entity_id: camera.hallway
|
||||||
|
- service: notify.home_assistant
|
||||||
|
data:
|
||||||
|
message: "3D Printer has finished"
|
||||||
|
target: [ "1070521797688180796" ]
|
||||||
|
data:
|
||||||
|
images:
|
||||||
|
- "/config/www/cctv/3d_printer.jpg"
|
||||||
|
|
||||||
- id: 3dprinter-button
|
- id: 3dprinter-button
|
||||||
alias: '[3D Printer] button'
|
alias: '[3D Printer] button'
|
||||||
|
Loading…
Reference in New Issue
Block a user