Yeah this is fairly light on the full API capabilities of bambuddy. I merely needed it for a button to clear the plate for my printer. But it’s a good starting point for future changes.
What exactly do you need from the integration? I’m sure I can get and store the states of the connected AMS’s if that’s all you need.
I’ve had to modify the driver in un-pretty ways. There are several issues. One killer problem is that just like all the other bambu drivers for hubitat a couple of active printers can bring out the Hubitat too many events warnings because: there are really too many events. (for a c7 or c8 )
Part of that problem is that the mqtt topic has a retain = true setting from BamBuddy so it is constantly active. This is a BamBuddy issue so it needs addressing there. Or a fork in that code.
Another issue is that that the handling of mulitple printers should probably be done with multiple child drivers and a parent driver. That would be a major change in the code.