Show humidity change (before/after/diff) in end notification
This commit is contained in:
parent
d4a0a5dd82
commit
4524af7b2c
1 changed files with 3 additions and 1 deletions
|
|
@ -110,6 +110,7 @@ variables:
|
|||
room_name: !input room_name
|
||||
notify_target: !input notify_target
|
||||
previous_mode: "{{ state_attr(climate_entity, 'hvac_mode') | default(states(climate_entity)) }}"
|
||||
start_humidity: "{{ states(humidity_sensor) | round(1) }}"
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
|
|
@ -227,7 +228,8 @@ action:
|
|||
title: "✅ Entfeuchtung beendet"
|
||||
message: >
|
||||
{{ room_name }}: Klimaanlage wurde zurückgesetzt.
|
||||
Aktuelle Luftfeuchtigkeit: {{ states(humidity_sensor) | round(1) }} %
|
||||
Vorher: {{ start_humidity }} % → Jetzt: {{ states(humidity_sensor) | round(1) }} %
|
||||
({{ '%+.1f' | format(states(humidity_sensor) | float - start_humidity | float) }} %)
|
||||
|
||||
- service: input_boolean.turn_off
|
||||
target:
|
||||
|
|
|
|||
Loading…
Reference in a new issue