Hi!
Is there any way to configure my template sensor to return only values below zero or zero?
I only need negative values or 0 at max
Also it would be fantastic to not make it go lower then -10000!
So perfect range would be “0 to -10000”
Thank You!!
value_template: >-
{{ ((states('sensor.gesamtverbrauch_komplett') | float(2))
- (states('sensor.pvpower_komplett') | float(2))) | round(2) }}
unit_of_measurement: W