The trick is to ensure that whatever you are monitoring for the toggle state is actually in the toggle “off” state if you want the button to appear to be “off”. In the example I linked, that’s why I have the action set the speed of my fan, and also set the “on”/“off” state of the fan. If you have your “off” button set the fan “off”, and then also set the speed to “off”, then the other buttons highlight state will work like you expect.