hello.
my trigger is not working even if condition is ok
but it is working once and only once
- if I reboot
- if I reload the configuration
- if I reload the template part of the configuration
it look like a bug for me sine the condition is ok
revision is 2024.9.2
the script is the following :
…
alias: AAuto thermosalon Ajustement température thermosalon
description: >-
Ajuste la température du thermostat thermosalon si consommation > 200 et
conditions remplies
trigger:
- platform: numeric_state
entity_id: sensor.energie_togrid
above: 200
condition: - condition: state
entity_id: binary_sensor.192_168_1_80
state: “on” - condition: time
after: “06:00:00”
before: “13:00:00” - condition: numeric_state
entity_id: climate.thermosalon
attribute: current_temperature
below: 24
action: - target:
entity_id: climate.thermosalon
data_template:
temperature: |
{{ state_attr(‘climate.thermosalon’, ‘temperature’) | float + 0.5 }}
action: climate.set_temperature - data:
title: Température augmentée dans thermosalon
message: >
de AAuto thermosalon Ajustement température thermosalonLa température
declimate.thermosalon
a été augmentée de 0.5°C car la consommation
énergétique dépasse 200 et la température actuelle était inférieure à
22°C.
action: persistent_notification.create
mode: single
…
Thanks for any help
Pierre