Hey,
i have a honeywell system.
goal: notify when the hotwater falls below “28”
my entity for the water (see below) shows a state of “off/on”, however there is an attribute which is the temperate itself. (current_temperature).
so i created the following 2 template values to be able to use this in the automation:
hotwater_temperature_tracker:
friendly_name: "Hot Water Temperature Tracker"
unit_of_measurement: "°C"
value_template: "{{ state_attr('water_heater.dhw_controller', 'current_temperature') }}"
hotwater_temperature_tracker_numeric:
friendly_name: "Hot Water Temperature Tracker Numeric"
value_template: '{{ float(states.water_heater.dhw_controller.attributes["current_temperature"]) }}'
my automation however, doesnt work, when i try either template values?
- alias: hot water temp below 28
trigger:
platform: numeric_state
entity_id: sensor.hotwater_temperature_tracker_numeric
above: 0
below: 28
#for:
#minutes: 15
action:
- service: persistent_notification.create
data_template:
message: 'Hot water temperature is low, its now at: {{ sensor.hotwater_temperature_tracker_numeric
}}'
title: Hot Water below 28
- service: notify.notify
data_template:
message: 'Hot water temperature is low, its now at: {{ sensor.hotwater_temperature_tracker_numeric
}}'
title: hot Water below 28
id: hotwateralert