Is there a setup that will use a microswitch (Aeon or Fibaro ETC) that once pulled will know what status it should be in.
I have a HUE bathroom bulb and want the pull cord to work for guests. If they pull it the light will come on or off as you would expect like its a real switch but in reality its all virtual. The issue is when you pull once the micro switch will think its on.
If the light is turned off using Alexa or some routine then next time I pull it will try to turn it off. but actually it needs to turn on.
I know WebCore could possibly change the state of the switch. but looking at ideas here.
My other option is ditch the pull cord and use a Hue dimmer.