In an automation I want to trigger a boolean to know if my main counter is negative. I used this automation but it doesn’t work. Any help?
‘’’
alias: Bepalen teller draait terug
description: ‘’
trigger:
platform: numeric_state
entity_id: sensor.power_total_2
below: ‘0.0’
for:
hours: 0
minutes: 0
seconds: 10
milliseconds: 0
condition: []
action:
service: input_boolean.toggle
target:
entity_id: input_boolean.teller_draait_terug
mode: single
‘’’
tom_l
October 17, 2021, 10:17am
2
Please format your post correctly .
What is the state of sensor.power_total_2
now?
What happens if you use,
below: 0
Hi, the power_total_now = -2785.0
The use of below: 0 is the same.
tom_l
October 17, 2021, 10:24am
4
The power has to go from above 0 to below 0 to trigger.
And please format your post correctly .
That can be the reason. Thanks a lot. Sorry that my post isn’t correctly. I must read the format conditions, It’s my first post.