Tasmota Lamps with wall switch

Hi,

I flash some Tuya bulbs with Tasmota. All lamps work perfect but i have one issue. Lamps seems to keep the last toggle commant so if the wall swich is on and lamp in HA is off and want to turn on the lamp fromt he wall switch is impossible. Before (when it was with Tuya) when i turn off the wall switch for one second and then trun on the lamp was on.

Is there any way to do that with Tasmota or i have always to use a mobile?

Please advice.

Note: I am new wit Tasmota.

poweronstate :

https://tasmota.github.io/docs/PowerOnState/

PowerOnState Control relay state after powering up the device.
0 / OFF = keep relay(s) OFF after power up
1 / ON = turn relay(s) ON after power up
2 / TOGGLE = toggle relay(s) from last saved state
3 = switch relay(s) to their last saved state (default)
4 = turn relay(s) ON and disable further relay control
5 = after a PulseTime period turn relay(s) ON (acts as inverted PulseTime mode)

1 Like

how to use these parameters? I am very new user of Tasmota

Login to the tasmota console, click on console

image

enter
poweronstate 1

if light has to be off if lost power.

1 Like

You are amazing!!!

Thanks a lot :slight_smile: