ha-bambulab icon indicating copy to clipboard operation
ha-bambulab copied to clipboard

[Feature] Pass device names in automations

Open RyanEwen opened this issue 2 months ago • 2 comments

Describe the feature

It would be really nice to have the name of the printer that triggered an automation passed into the automation actions when handling device events such as print completed or print paused.

Use case: I have 5 P1S printers and don't want to create automations for each combination of printer and event type that I want to handle. I would instead like to create one automation for each event type, triggered by any of my printers, and have the name of the particular printer (as defined in HA rather than Bambu Cloud) that triggered the automation available to use in the resulting action.

For example, I currently have this automation that sends a message to my phone when a print is complete, but I cannot tell which printer triggered the automation, so the message I send to my phones simply says that a print completed. Which print, I don't know: image

What device is this for?

P1S

Other Information

No response

RyanEwen avatar Apr 16 '24 03:04 RyanEwen