cmroche / OctoPrint-HomeAssistant

Home Assistant plugin for OctoPrint, enabling MQTT discovery of you device and sensors
110 stars 18 forks source link

Support for Device Triggers #111

Closed mreditor97 closed 1 year ago

mreditor97 commented 1 year ago

Adds in Home Assistant support for Device Triggers.

This allows automations to be triggered within Home Assistant on Print Start, Fail, Done, Cancel, Pause and Resume (so far) - more can be added later however I believe these will be used most!

You can test this patch by installing it using this link: https://github.com/mreditor97/octoprint-homeassistant/archive/patch/device-triggers.zip

This was added at the request of @tideline3d in #105.

mreditor97 commented 1 year ago

This is being superseded by Print Events sensor which is added in HA 2023.8 in the coming few days.