Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 102819

Temperature sensor automation never triggering

$
0
0

I know I’ve seen this question asked elsewhere, but I have tried all the suggestions that I could find in those threads, but I still have a non-functioning automation based on the temperature value of my Mysa AC controller.

Here is the yaml:

alias: 'Studio AC: If room temp gets above 80 turn on AC'
description: ''
trigger:
  - platform: numeric_state
    entity_id: sensor.mysa_59be2c_current_temperature_2
    above: '80'
condition:
  - condition: or
    conditions:
      - condition: state
        entity_id: climate.studio_ac
        state: 'off'
      - condition: state
        entity_id: climate.studio_ac
        state: heat
  - condition: time
    before: '23:59:59'
    after: '09:00:00'
    weekday: []
action:
  - device_id: c9fa6c66277a13dd9bec2c5f8bf85c5b
    domain: climate
    entity_id: climate.studio_ac
    type: set_hvac_mode
    hvac_mode: cool
mode: single

I have other automations that turn the unit off around 1am if left on, and two more that turn it on an hour before I enter the home studio/office where the AC unit is located based on what the forcasted high for the day is. Both those sets of automations work just fine.

But this one above, which is triggering on the numeric state of the current_temperature sensor just never triggers. I check the traces, and it’s not even like the conditions are blocking the actions, I just don’t get a trigger.

I have checked to make sure that the automation was enabled while the temp was below the “above” threshold, and every night it most certainly drops well below that temp.

Any ideas on what else I can look at to get this working reliably?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 102819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>