Hello guyes,
I made this automation which works fine when its triggered manual or by time, but not with my moisture sensor. Can s.b. explain it to me, what is wrong?
HA is:
|Version|core-2022.7.5|
This is the trigger in my first approach, which did not work too.
platform: numeric_state
entity_id: sensor.ble_02_bodenfeuchte
for:
hours: 0
minutes: 0
seconds: 30
below: '35'
Now I tried to make a helper which turns on below 35. The helper works fine, but the automation is not triggered.
alias: 1OG Wasser Gardena
description: ''
trigger:
- platform: state
entity_id:
- binary_sensor.balkonblumen_trocken
from: Aus
to: An
- platform: time
at: '05:00:00'
- platform: time
at: '21:30:00'
condition: []
action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.balkon
- delay:
hours: 0
minutes: 4
seconds: 0
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.balkon
- service: notify.mobile_app_mi12stefan
data:
message: Balkon Wasser ist an
title: Wasser, Marsch!
target: o
mode: single