#Air conditioning automation making the condition that temperature is above 25 for 5 mins help

1 messages · Page 1 of 1 (latest)

hard marlin
#

Hey guys i a big noob and need help making the numeric state monitor that the temperature and power are above those threshold for 5 minutes to ensure no flucations and ensure efficient activation can anyone help and tell me how to add it?

  - condition: numeric_state
    entity_id: sensor.el_pc_current_power
    above: 400
  - condition: numeric_state
    entity_id: sensor.temperaturesensor_temperature
    above: 25
  - condition: state
    entity_id: switch.el_bedroom_airconditioner
    state: "off"```
shut belfry
#

Numeric State conditions do not support a duration, but State conditions do. One approach would be to set up either a Threshold or Template binary sensor that tell you if the source values are above the desired threshold. Then use those in a State condition with a duration.