Nice work! Tried it out on a couple of the plugs I have and works great.
Looking over your code, looks like plugs only right now, and no wall switch support yet? Any plan to add that? I haven’t looked at this much since I published API last year but seem to remember having a hard time figuring out how to make groovy play nice with json payloads.