I’m new to HA and recently installed this switch in a 3-way circuit where the other switch is a dumb 3-way switch. I used the template in https://templates.blakadder.com/gosund_SW6.html to configure it and everything works fine from the physical switches.
Using MQTT Discovery, two toggle switches show up in the HA GUI, one of which (switch.study_overheads) is the exact inverse of the state of the lights being controlled. Toggling this switch in the GUI also changes the state of the lights but on is off and vice versa. (I think the other is a fake switch created to capture any state change in the dumb switch)
How do I get this state to be inverted in the GUI so that the state of the light is accurately reflected?
Thanks