@brecht - Thanks for the extremely speedy response!
I am not using a poll() function. The only values I can get to work for bl_context are “material” and “object”.
bl_context = “render”, “output”, “world” etc. do not work for me (and I’ve tried them all). I must be doing something else wrong.
Full file is here in case it helps shed light on the situation.