How known what turn on a device?

I have a heat watter with a Sonoff. Some times, it turn on alone and I don’t know why.

In the records, only show “heat water turn on”. Can I know what turn on? I don’t know if the mqtt, the own device, a automation, a special ruler or a front end in any device…

What firmware is on it? Tasmota?
Paste your MQTT switch config please. Do you have retain: true?
Also what are your retained settings on the sonoff?? default?