mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (S) (#8206)
This commit is contained in:
		| @@ -1,27 +1,12 @@ | ||||
| spi: | ||||
|   - id: spi_sn74hc595 | ||||
|     clk_pin: 6 | ||||
|     mosi_pin: 7 | ||||
|     miso_pin: 5 | ||||
| substitutions: | ||||
|   clk_pin: GPIO6 | ||||
|   mosi_pin: GPIO7 | ||||
|   miso_pin: GPIO8 | ||||
|   clock_pin: GPIO5 | ||||
|   data_pin: GPIO4 | ||||
|   latch_pin1: GPIO1 | ||||
|   oe_pin1: GPIO2 | ||||
|   latch_pin2: GPIO3 | ||||
|   oe_pin2: GPIO9 | ||||
|  | ||||
| sn74hc595: | ||||
|   - id: sn74hc595_hub | ||||
|     clock_pin: 0 | ||||
|     data_pin: 1 | ||||
|     latch_pin: 2 | ||||
|     oe_pin: 3 | ||||
|     sr_count: 2 | ||||
|   - id: sn74hc595_hub_2 | ||||
|     latch_pin: 8 | ||||
|     oe_pin: 9 | ||||
|     spi_id: spi_sn74hc595 | ||||
|     type: spi | ||||
|     sr_count: 2 | ||||
|  | ||||
| switch: | ||||
|   - platform: gpio | ||||
|     name: SN74HC595 Pin 0 | ||||
|     pin: | ||||
|       sn74hc595: sn74hc595_hub_2 | ||||
|       number: 0 | ||||
|       inverted: false | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user