I’ve just managed to set up CUPS integration, and while I can trigger on ink levels, I can’t trigger on state.
I would like to create an automation like “If there’s a document in the CUPS queue (i.e. the queue has status ‘printing’ turn on the Z-Wave socket for the printer if it’s not already on. If the CUPS queue is in state ‘idle’ for longer than 30 minutes, turn of the Z-Wave socket for the printer if it is on”, so triggering on state is the missing bit.
Should be quick to integrate, but I’d need to have a much closer look to write a PR myself. If anyone else could do so quick, I’d be much obligated!
Thanks for all the great work put into this project already, I’m really enjoying it!