I am sure this is a “doh” moment but I am setting up my first automation (using a Sonoff iPlug Type G) and cannot get it to trigger.
My dashboard is displaying the real-time power consumption as expected and the Tile card configuration window (attached) appears to show the same entity I am using as the trigger
I just want my automation to trigger when the power becomes not zero so I have used a minimal level but although the dashboard display shows the power changing from zero to well over this minimal level nothing happens. I used the UI which created the following YAML for me:
trigger: numeric_state
entity_id:
- sensor.sonoff_s60zbtpg_power
attribute: measurement_type
above: 3.9
There are also several actions but they run correctly when using "Run actions".
It seems so straightforward, please point out my beginner’s error