mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add CT Clamp component (#559)
* Add CT Clamp component * Update lint * Some more fixes * Make updates to work as an analog sensor consumer * Remove unused imports Update lint suggestions * Move setup_priority to header * Remove unused calibration value * Remove Unique ID - Will be auto generated * Update to use loop and not slow down main loop Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
		| @@ -129,6 +129,19 @@ sensor: | ||||
|       b_constant: 3950 | ||||
|       reference_resistance: 10k | ||||
|       reference_temperature: 25°C | ||||
|   - platform: ntc | ||||
|     sensor: resist | ||||
|     name: NTC Sensor2 | ||||
|     calibration: | ||||
|       - 10.0kOhm -> 25°C | ||||
|       - 27.219kOhm -> 0°C | ||||
|       - 14.674kOhm -> 15°C | ||||
|   - platform: ct_clamp | ||||
|     sensor: my_sensor | ||||
|     name: CT Clamp | ||||
|     sample_duration: 500ms | ||||
|     update_interval: 5s | ||||
|  | ||||
|   - platform: tcs34725 | ||||
|     red_channel: | ||||
|       name: Red Channel | ||||
|   | ||||
		Reference in New Issue
	
	Block a user