mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-25 13:13:48 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			348 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			348 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| substitutions:
 | |
|   pwm_platform: "ledc"
 | |
|   output1_pin: "14"
 | |
|   output2_pin: "15"
 | |
|   output3_pin: "12"
 | |
|   output4_pin: "13"
 | |
|   hbridge_on_pin: "4"
 | |
|   hbridge_off_pin: "5"
 | |
| 
 | |
| <<: !include common.yaml
 | |
| 
 | |
| switch:
 | |
|   - platform: hbridge
 | |
|     id: switch_hbridge
 | |
|     on_pin: ${hbridge_on_pin}
 | |
|     off_pin: ${hbridge_off_pin}
 | |
|     pulse_length: 60ms
 | |
|     wait_time: 10ms
 |