mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			295 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			295 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
i2c:
 | 
						|
  - id: i2c_max6956
 | 
						|
    scl: ${scl_pin}
 | 
						|
    sda: ${sda_pin}
 | 
						|
 | 
						|
max6956:
 | 
						|
  - id: max6956_1
 | 
						|
    address: 0x40
 | 
						|
 | 
						|
binary_sensor:
 | 
						|
  - platform: gpio
 | 
						|
    name: Max Input Pin
 | 
						|
    pin:
 | 
						|
      max6956: max6956_1
 | 
						|
      number: 4
 | 
						|
      mode:
 | 
						|
        input: true
 | 
						|
        pullup: true
 | 
						|
      inverted: false
 |