#Aircon automation not working

1 messages · Page 1 of 1 (latest)

native river
#

Please send help i have this automation and it seems to not be constantly checking or even periodically checking it will only update when temperature goes above 25 degrees once then not again. Am i doing something wrong?

description: ""
triggers:
  - trigger: numeric_state
    entity_id:
      - sensor.temperaturesensor_temperature
    above: 25
    for:
      hours: 0
      minutes: 5
      seconds: 0
conditions:
  - condition: numeric_state
    entity_id: sensor.el_pc_current_power
    above: 400
  - condition: state
    entity_id: switch.el_bedroom_airconditioner
    state: "off"
actions:
  - action: switch.turn_on
    metadata: {}
    data: {}
    target:
      entity_id: switch.el_bedroom_airconditioner```
blazing stratusBOT
#

@native river To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

bold sky
native river
bold sky
#
#

Fire on all changes of temperature, then use conditions to only let it run when you want it to temperature wise.

native river
bold sky
#
triggers:
  - trigger: state
    entity_id: sensor.temperaturesensor_temperature
native river
#

Would there be any way to verify that the temperature is above 25 degrees for 5 minutes in the conditions

bold sky
#

Sure but you have to play with a template. There are people way better at helping with them than me. I can make them work but struggle doing it remotely.

native river
#

If you have any ideas I’ll gladly take them