Hallo
so scheint es nun zu funktionieren:
Code
alias: Solarsteuerung
trigger:
- platform: state
entity_id:
- sensor.esp_test1
- platform: state
entity_id:
- sensor.1_wire_hub_temperature
condition:
- condition: template
value_template: >-
{{ states('sensor.esp_test1')|float >
((states('sensor.1_wire_hub_temperature')|float) +
(states('input_number.hysterese'))|float) }}
- condition: time
after: "08:30:00"
before: "19:00:00"
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- sun
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.solar_pumpe
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.solar_pumpe
mode: single
Alles anzeigen
Das von dir vorgeschlagene "float(0)" funktioniert nicht.
wenn ich das so schreibe, dann wird sofort bei der Änderung eines Sensors ausgelöst!
Ich werde noch weiter beobachten.
Herzlichen Dank für deine Zeit und Hilfe
Helmut