mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add some components to the new testing framework (H) (#6179)
* Add some components to the new testing framework (H) * Remove C3 * Fix indentation --------- Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										21
									
								
								tests/components/hlw8012/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								tests/components/hlw8012/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| sensor: | ||||
|   - platform: hlw8012 | ||||
|     model: hlw8012 | ||||
|     sel_pin: 12 | ||||
|     cf_pin: 14 | ||||
|     cf1_pin: 13 | ||||
|     current: | ||||
|       name: HLW8012 Current | ||||
|     voltage: | ||||
|       name: HLW8012 Voltage | ||||
|     power: | ||||
|       name: HLW8012 Power | ||||
|       id: hlw8012_power | ||||
|     energy: | ||||
|       name: HLW8012 Energy | ||||
|       id: hlw8012_energy | ||||
|     update_interval: 15s | ||||
|     current_resistor: 0.001 ohm | ||||
|     voltage_divider: 2351 | ||||
|     change_mode_every: "never" | ||||
|     initial_mode: VOLTAGE | ||||
		Reference in New Issue
	
	Block a user