This is a very slick "Thing"!
Just a question for you. Do the -action: pon, poff, etc have relevance elsewhere ? Or are they like internal names for the .yaml file?
Also, once you edit the .yaml file, is a restart of the pi (reboot) needed, or just an octoprint restart?