sensor: - platform: ct_clamp sensor: adc_sensor name: "${node_verbose_name} Measured Current" update_interval: 5s filters: - calibrate_linear: # measured -> actual - 0.003 -> 0 - 0.0087 -> 0.8 - 0.012 -> 1.117 - 0.017 -> 1.575 - platform: adc pin: GPIO4 id: adc_sensor attenuation: 12db - platform: adc pin: GPIO0 id: adc_ref name: "${node_verbose_name} ADC Ref" update_interval: 10s attenuation: 12db