Add Dragonfruit (Prusa XL via PrusaLink) - #55
Open
kevinahuber wants to merge 3 commits into
Open
Conversation
- Add input_text helpers for slack thread TS and last job storage
- Create alias template sensors (print_status, print_progress, end_time)
so dynamic states("sensor."+printer+"_xxx") lookups resolve correctly
- Add last_display_name and last_object template sensors
- Add history_stats for weekly completed/failed counts
- Add PrusaLink-specific triggers to all lifecycle automations
(starting, finished, stopped, paused, error, progress, offline)
- Add to roundup, weekly summary, and multi-printer offline alerts
- Include PrusaLink states in not_printing and status_labels
Entity IDs assume the PrusaLink device is named "Dragonfruit" in HA.
May need adjustment once the integration is set up.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…name - Dragonfruit End Time has device_class: timestamp, so it needs an availability guard to avoid template errors when PrusaLink is offline - Pineapple uses the Creality integration, not Prusa 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Kevin Huber <kevinahuber@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
dragonfruit_print_status,dragonfruit_print_progress,dragonfruit_end_time) so the dynamicstates("sensor."+printer+"_xxx")lookups work with PrusaLink's different entity naminginput_texthelpers for Slack threading and last job storagehistory_statssensors for weekly print counts using PrusaLink states (finished,stopped)idle/ready->printing->finished/stopped/paused/errorEntity IDs assume the PrusaLink device is named "Dragonfruit" in HA — may need adjustment once the integration is configured.
Test plan
sensor.dragonfruitexists and reports correct states#3dprint-info🤖 Generated with Claude Code