mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			399 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			399 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| pca9554:
 | |
|   - id: pca9554_hub
 | |
|     i2c_id: i2c_bus
 | |
|     pin_count: 8
 | |
|     address: 0x3F
 | |
| 
 | |
| binary_sensor:
 | |
|   - platform: gpio
 | |
|     id: pca9554_input
 | |
|     name: PCA9554 Binary Sensor
 | |
|     pin:
 | |
|       pca9554: pca9554_hub
 | |
|       number: 1
 | |
|       mode: INPUT
 | |
|       inverted: true
 | |
|   - platform: gpio
 | |
|     id: pca9554_output
 | |
|     pin:
 | |
|       pca9554: pca9554_hub
 | |
|       number: 0
 | |
|       mode: OUTPUT
 | |
|       inverted: false
 |