Goal: Notify when a Milan smart plug loses power.
Issue: Physically unplugging the plug doesn’t fire the automation; manual run works.
What I’m using (triggers & logic): unavailable/unknown on the switch, or cloud connection off, plus a guard to ignore prior unavailable/unknown.
Questions:
- Do some integrations not flip to
unavailable/unknownon power loss (cache last state instead)? - Better pattern:
availability_template,ping/device_tracker, or a device “no response” trigger? - Could my condition block the first transition into
unavailable/unknown?
Notes: Mobile push works; manual test of the automation works—only physical unplug fails to trigger. Thanks!