Dashboard toggle button without switch

Hi.

You might be better doing this in a template node rather than maintain state in context at server side.

This rather larger demo I did for another user might provide some cues. In particular the mute button that toggles icon. You could use the same design patter to create a 3 state button.

See this thread.