Awesome - Thank you! That definitely seems to get me on the right track. Now I seems to have a syntax or formatting issue as the image is taken (snapshot) but it is sending the path not the image to discord.
alias: A30T-Discord
description: ""
trigger:
- platform: state
entity_id:
- sensor.a309c8d7_a30t_progress
to: "0.1"
from: "0.0"
- platform: state
entity_id:
- sensor.a309c8d7_a30t_progress
to: "25.0"
- platform: state
entity_id:
- sensor.a309c8d7_a30t_progress
to: "50.0"
- platform: state
entity_id:
- sensor.a309c8d7_a30t_progress
to: "100.0"
condition: []
action:
- service: camera.snapshot
data:
filename: /config/www/pictures/latest_A30T.jpg
target:
entity_id: camera.a30t_cam
- service: notify.homeassistant_app
data:
target: "1004279058625998899"
title: A30
message: >-
A30T Printing progress of {{states('sensor.a309c8d7_a30t_job')}} is at
{{states('sensor.a309c8d7_a30t_progress')}}%
data:
images:
- /config/www/pictures/latest_A30T.jpg
mode: restart