I need help!
I created a resp api sensor from my Fronius GEN24 Inverter
So this sensor reads positve and negative data…i would like only read the positve Values over 0…and ignore the Values under 0
is that possible?
platform: rest
resource: http://10.0.0.245/solar_api/v1/GetPowerFlowRealtimeData.fcgi
method: GET
name: "Netzbezug SAG neu"
value_template: "{{ value_json['Body']['Data']['Site']['P_Grid'] | int | round(0) }}"
unit_of_measurement: 'W'
scan_interval: 2
force_update: true