I have a couple of Meross 315 plugs working well in HA 2025.10.
I am getting energy data from them using the cloud integration.
I am monitoring Wattage to get on top of my electricity consumption.
I know the Meross Cloud IoT integration is experimental and that I can expect issues. Totally. I am trying to work around one of these issues ![]()
On a periodic irregular basis, the usage data flatlines.
That is, instead of displaying live data, eg
3.4W at 10.15
3.6W at 10.20
14.3W at 10.25
it gets stuck repeating a particular data point until I do something about it.
14.3W at 10.30
14.3W at 10.35
14.3W at 10.40
I can’t figure out why it gets stuck. But I have figured out that if I disable and re-enable one of the devices, it fixes it for all the devices.
14.7W at 10.45
13.9W at 10.50
So, I’m trying to setup an automation to detect when it reports the same data over say, 10minutes, and then to do a disable/enable.
I’ve figured out that I need to do something like:
when a entity metric arrives
set/reset timer to countdown/up from 10minutes
and a seconnd automation that uses the timer trigger:
if timer event is generated
disable entity
enable entity
I can’t figure out how to do the first step.
How do I setup a “When” trigger to detect that a Wattage record has arrived from a particular entity?