I have an automation that sends a notification (going to expand this to other actions later as well) when the power consumption on the upstream outlet of my garage freezers is below a threshold. The threshold being a minimum consumption I’ve observed through watching history graphs.
alias: Garage Freezer Alerts
description: ""
triggers:
- trigger: numeric_state
entity_id:
- sensor.garage_plugs_1_energy_power
below: 51
conditions: []
actions:
- action: notify.mobile_app_X
metadata: {}
data:
message: Garage power consumption below threshold. Check freezers!
title: WARNING!
- action: notify.mobile_app_Y
metadata: {}
data:
message: Garage power consumption below threshold. Check freezers!
title: WARNING!
enabled: true
mode: single```
However, I notice this only triggers when the consumption drops below the number, as in transitions to 50 and below from a higher number. It does not notify if the outlet is under the threshold at the current moment. Example: if the usage is currently 100W, and I set the automation to trigger if it is below 120 and save it, I expect the trigger to be firing already, but it isn’t.
Is there something else I need to add here for that behavior to happen? Thanks!