I’m using a 12 channel circuitsetup atm90e32 to monitor energy usage. I have a couple of channels that are not hooked up to anything and they show minuscule negative values that screw up some of my charts. Is there any way to put a filter in the yaml so that negative values aren’t passed to home assistant?
Here is an example of the code:
- platform: atm90e32
cs_pin: 5
phase_a:
voltage:
name: ${disp_name} Volts A
id: ic1Volts
accuracy_decimals: 1
# Split Phase A
current:
name: ${disp_name} CT01 Amps
id: ct1Amps
power:
name: ${disp_name} CT01 Watts
id: ct1Watts
gain_voltage: ${voltage_cal}
gain_ct: ${cal_sct_016}
and then a little further down (for the same channel)
#CT1 kWh
- platform: total_daily_energy
name: ${disp_name} CT01 Daily kWh
power_id: ct1Watts
filters:
- multiply: 0.001
unit_of_measurement: kWh