Tossing a couple things out mostly for the people getting ideas from these threads:
I've done something similar, but using the webcam watcher to hook on the webcam being enabled for any reason -- that way when I have that one external meeting on Google Meet or whatever the light still works.
(I also found it useful to have Hammerspoon flip a virtual switch in, well, Hubitat for me, and then automation based on that virtual switch, rather than triggering the light directly. Lets me hang other things off of that virtual switch instead of putting it in Hammerspoon.)
I've done something similar, but using the webcam watcher to hook on the webcam being enabled for any reason -- that way when I have that one external meeting on Google Meet or whatever the light still works.
(I also found it useful to have Hammerspoon flip a virtual switch in, well, Hubitat for me, and then automation based on that virtual switch, rather than triggering the light directly. Lets me hang other things off of that virtual switch instead of putting it in Hammerspoon.)