I’m trying to solve a problem with my windsensors automation, I want to get a notify on my mobile on regular base by reaching some windspeed, like 5ms for a minimum time active like 5 sec, each time it drops and is rising again above the 5ms i want to get a new warning, the same with other speeds like 10ms or 15ms, in this case i can rise my sun louvers when i’m not home, before the max speed is reached and they open automatically (by the alarm setting in my KNX by a speed of 20ms)
- id: '1597162833242'
alias: Wind 5.0 ms
description: ''
trigger:
- entity_id: sensor.windsnelheid
for:
seconds: 1
from: '5.0'
platform: state
to: '9.9'
condition: []
action:
- data:
message: Wind 5.0 ms
service: notify.mobile_app_sm_g975f
mode: single
- id: '1597608923038'
alias: Wind 10.0 ms
description: ''
trigger:
- entity_id: sensor.windsnelheid
for:
seconds: 1
from: '10.0'
platform: state
to: '14.9'
condition: []
action:
- data:
message: Wind 10.0 ms
service: notify.mobile_app_sm_g975f
mode: single
- id: '1597609433467'
alias: Wind 15.0 ms
description: ''
trigger:
- entity_id: sensor.windsnelheid
from: '15.0'
platform: state
condition: []
action:
- data:
message: Wind 15.0
service: notify.mobile_app_sm_g975f
mode: single