MQTT and Tasmota integrations are OK, though entities are unavailable

Hi,

I have no idea why the entity switch.sonoff_s20 that worked well for months doesn’t work anymore. I’m still quite a newbie with HA though. I looked for existing issues on the forum and elsewhere but didn’t help.

MQTT integration seems OK. If I listen to topic “#” I get:

Message 3 received on switch/sonoff_s20/LWT at 2:58 PM:

Online

QoS: 0 - Retain: true

I get new messages when toggling the SonOff button through the admin web site or manually.

When I go to Entities list, I get

SonOff S20 | switch.sonoff_s20 | Tasmota | Kitchen | <red icon> with Unavailable tooltip.

I changed the topic through the tasmota admin web site of the device hoping that would create a new entity but it didn’t.

Could you help please?