#The automation fails to trigger correctly when the hot water tank is already at or above the temp.

1 messages · Page 1 of 1 (latest)

ancient storm
#

The numeric state trigger gets missed when the automation triggers, while the value of the sensor is already at or above the trigger state.

Can you please help me make this more robust and if you see any other improvements, I'd greatly appreciate the feedback.


triggers:
  - entity_id: input_button.hot_water_short
    not_from:
      - unavailable
      - unknown
    id: hot_water_short_on
    trigger: state
  - entity_id:
      - sensor.boiler_tank_temperature
    above: 48
    id: boiler_tank_temperature_reached
    trigger: numeric_state
  - event_type: timer.finished
    event_data:
      entity_id: timer.hot_water_hold
    id: timer_hot_water_hold_finished
    trigger: event
  - event: start
    id: HA_start
    trigger: homeassistant
  - entity_id: schedule.hot_water
    id: schedule_hot_water
    trigger: state
  - entity_id: event.dim_1_action
    not_from: unavailable
    id: dimmer_hot_water
    trigger: state
dawn path
ancient storm
#

Thank you for the idea. Please note however that the important information is the actual temperature. If the trigger is based on a trend, I am capturing a delta at ANY temperature, which is not helpful.

dawn path
#

you could put a condition on the trigger

ancient storm
#

I would need the automation to realize the 48 has been reached prior to the automation being triggered and proceed down the tree

dawn path
#

so if the temp is above the normal trigger number AND is trending upwards

ancient storm
#

That is one way to go - thank you!

dawn path
#

there might be some edge cases but it should get it going for the most part

ancient storm
#

Feel like there must be something more basic, though. This issue (numeric trigger being present before automation trigger) must be pretty common.

#

I was hoping there is an option to call up the sensor value irrespective of the fact it's already past the trigger value

dawn path
#

you would get cases of spam triggering then

ancient storm
#

Fair!

dawn path
#

gotta pick the battles sometimes

#

between trend and statistic helpers you can make triggers for most situations if you need too

#

if the heater is electric based you could track the power consumption too

ancient storm
#

Gas boiler...

dawn path
#

i have a gas central heating system. but the pump that transfers the heat around the house is electric and trackable. sometimes there are ways depending on specific use case

#

but it seems you have the data you need, just need to twist it into shape a bit