mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-03 16:41:50 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			294 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			294 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
esphome:
 | 
						|
  on_boot:
 | 
						|
    then:
 | 
						|
      - servo.write:
 | 
						|
          id: test_servo
 | 
						|
          level: -100.0%
 | 
						|
      - servo.detach: test_servo
 | 
						|
 | 
						|
output:
 | 
						|
  - platform: ledc
 | 
						|
    id: servo_output_1
 | 
						|
    pin: 1
 | 
						|
 | 
						|
servo:
 | 
						|
  id: test_servo
 | 
						|
  output: servo_output_1
 | 
						|
  restore: true
 | 
						|
  min_level: 4%
 | 
						|
  max_level: 8%
 |