Tasmota MQTT retained topic again. Very sorry, but nothing helps

sorry guys but I am fed up with this retained stuff, cannot understand what switch tasmota off right after the device reload… I have ‘PowerOnState 1’; ‘powerretain 1’; cleaned all retained flags on mosquitto for cmnd/ tele/ stat/ topics; have retain=false in HA… the status of switch is ON (and I see in the console it is retained). then I reboot the device and it gets OFF… how comes? what is more, it happens with only one device in my environment. all the rest work fine! How do I find the source of this OFF command?

00:00:00 Project tasmota BlitzWolf1-SHP2 Version 8.5.0(tasmota)-2_7_4_1
00:00:04 WIF: Connecting to AP1 a.net Channel 9 BSSId pp:pp:pp:pp:pp:pp in mode 11N as blitzwolf1-9999...
00:00:06 QPC: Reset
00:00:06 WIF: Connected
12:16:56 HTP: Web server active on blitzwolf1-9999 with IP address 192.168.63.3
12:16:57 MQT: Attempting connection...
12:16:58 MQT: Connected
12:16:58 MQT: tele/blitzwolf1/LWT = Online (retained)
12:16:58 MQT: cmnd/blitzwolf1/POWER = 
12:16:58 MQT: tele/blitzwolf1/INFO1 = {"Module":"BWolf-Gosund","Version":"8.5.0(tasmota)","FallbackTopic":"cmnd/DVES_D99999_fb/","GroupTopic":"cmnd/tasmotas/"}
12:16:58 MQT: tele/blitzwolf1/INFO2 = {"WebServerMode":"Admin","Hostname":"blitzwolf1-9999","IPAddress":"192.168.63.3"}
12:16:58 MQT: tele/blitzwolf1/INFO3 = {"RestartReason":"Software/System restart"}
12:16:58 MQT: stat/blitzwolf1/RESULT = {"POWER":"OFF"}
12:16:58 MQT: stat/blitzwolf1/POWER = OFF (retained)

Hi,
are you using the physical button on the device to control the device at all, or only through HA?

Only the one on HA. but when I am physically next to the device I can use the device button… So, practically I need both

seems ‘poweronstate’ tasmota command has no effect for rebooting. Instead ‘setoption0 1’ should be used… this way it works…I have it ‘on’ on all devices except this one.