One sonoff switch is missing

I have 3 sonoff switches with identical configuration, and they were working properly for a long time, but recently one of them start to disappearing. All of them is accessible via web, all of them is connected to mosquitto broker on Raspberry. But 192.168.10.145 is missing in HA

1538898788: New connection from 192.168.10.147 on port 1883.
1538898788: New client connected from 192.168.10.147 as DVES_2D839C (c1, k15, u’shx’).
1538898788: New connection from 192.168.10.145 on port 1883.
1538898788: New client connected from 192.168.10.145 as DVES_9EC82A (c1, k15, u’shx’).
1538898788: New connection from 192.168.10.146 on port 1883.
1538898788: New client connected from 192.168.10.146 as DVES_86D594 (c1, k15, u’shx’).

This one is missing now:

light:
#Sonoff
  - platform: mqtt
    name: "Sonoff light"
    state_topic: "stat/sonoff_bath_light/POWER"
    command_topic: "cmnd/sonoff_bath_light/POWER"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: true

This one is OK:

switch:
  - platform: mqtt
    name: "Sonoff fan"
    state_topic: "stat/sonoff_bath_fan/POWER"
    command_topic: "cmnd/sonoff_bath_fan/POWER"
    qos: 1
    payload_on: "ON"
    payload_off: "OFF"
    retain: true

Sometimes it’s appearing as an entity, but not working

Does it have tasmota on it if so reflash it just a idea

i did, i upgraded all of them to latest version. tasmota is working ok, i can control switch via it’s webserver.

double check the state and command topics, I seem to recall a recent thread where a change was made in tasmota that caused a similar issue.

Thanks! it helped. For some reason it changed and became POWER1
“stat/sonoff_bath_light/POWER1”