mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Add some components to the new testing framework (P) (#6213)
This commit is contained in:
		
							
								
								
									
										28
									
								
								tests/components/pcf8574/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/pcf8574/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| i2c: | ||||
|   - id: i2c_pcf8563 | ||||
|     scl: 16 | ||||
|     sda: 17 | ||||
|  | ||||
| pcf8574: | ||||
|   - id: pcf8574_hub | ||||
|     address: 0x21 | ||||
|     pcf8575: false | ||||
|  | ||||
| binary_sensor: | ||||
|   - platform: gpio | ||||
|     id: pcf8574_binary_sensor | ||||
|     name: PCF Binary Sensor | ||||
|     pin: | ||||
|       pcf8574: pcf8574_hub | ||||
|       number: 1 | ||||
|       mode: INPUT | ||||
|       inverted: true | ||||
|  | ||||
| output: | ||||
|   - platform: gpio | ||||
|     id: pcf8574_output | ||||
|     pin: | ||||
|       pcf8574: pcf8574_hub | ||||
|       number: 0 | ||||
|       mode: OUTPUT | ||||
|       inverted: false | ||||
		Reference in New Issue
	
	Block a user