mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Group component tests to reduce CI time (#11134)
This commit is contained in:
		
				
					committed by
					
						 Jesse Hills
						Jesse Hills
					
				
			
			
				
	
			
			
			
						parent
						
							132e949927
						
					
				
				
					commit
					2864bf1674
				
			| @@ -1,11 +1,4 @@ | ||||
| uart: | ||||
|   - id: uart_a01nyub | ||||
|     tx_pin: ${tx_pin} | ||||
|     rx_pin: ${rx_pin} | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: a01nyub | ||||
|     id: a01nyub_sensor | ||||
|     name: a01nyub Distance | ||||
|     uart_id: uart_a01nyub | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/esp32-c3-idf.yaml | ||||
|  | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|   | ||||
| @@ -1,5 +1,8 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO17 | ||||
|   rx_pin: GPIO16 | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +1,4 @@ | ||||
| uart: | ||||
|   - id: uart_a02yyuw | ||||
|     tx_pin: ${tx_pin} | ||||
|     rx_pin: ${rx_pin} | ||||
|     baud_rate: 9600 | ||||
|  | ||||
| sensor: | ||||
|   - platform: a02yyuw | ||||
|     id: a02yyuw_sensor | ||||
|     name: a02yyuw Distance | ||||
|     uart_id: uart_a02yyuw | ||||
|   | ||||
| @@ -1,3 +1,6 @@ | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/esp32-c3-idf.yaml | ||||
|  | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|   | ||||
| @@ -1,5 +1,8 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO17 | ||||
|   rx_pin: GPIO16 | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
|  | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   tx_pin: GPIO4 | ||||
|   rx_pin: GPIO5 | ||||
| packages: | ||||
|   uart: !include ../../test_build_components/common/uart/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| substitutions: | ||||
|   step_pin: GPIO22 | ||||
|   dir_pin: GPIO23 | ||||
|   dir_pin: GPIO4 | ||||
|   sleep_pin: GPIO25 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| substitutions: | ||||
|   step_pin: GPIO1 | ||||
|   dir_pin: GPIO2 | ||||
|   sleep_pin: GPIO5 | ||||
|   sleep_pin: GPIO0 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| substitutions: | ||||
|   gate_pin: GPIO18 | ||||
|   zero_cross_pin: GPIO19 | ||||
|   gate_pin: GPIO4 | ||||
|   zero_cross_pin: GPIO5 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| substitutions: | ||||
|   gate_pin: GPIO5 | ||||
|   zero_cross_pin: GPIO4 | ||||
|   gate_pin: GPIO0 | ||||
|   zero_cross_pin: GPIO2 | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +0,0 @@ | ||||
| sensor: | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     attenuation: 2.5db | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
| @@ -1,7 +1,11 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: P23 | ||||
|     attenuation: !remove | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,6 +1,12 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|     pin: 4 | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: GPIO1 | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     attenuation: 2.5db | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,6 +1,12 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: A0 | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     attenuation: 2.5db | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,6 +1,12 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|     pin: GPIO50 | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: GPIO16 | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     attenuation: 2.5db | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,6 +1,12 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|     pin: 1 | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: GPIO1 | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     attenuation: 2.5db | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,6 +1,12 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|     pin: 1 | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: GPIO1 | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     attenuation: 2.5db | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,7 +1,11 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: VCC | ||||
|     attenuation: !remove | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,7 +1,11 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|     pin: PA0 | ||||
|     attenuation: !remove | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: A5 | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,7 +1,11 @@ | ||||
| packages: | ||||
|   base: !include common.yaml | ||||
|  | ||||
| sensor: | ||||
|   - id: !extend my_sensor | ||||
|   - id: my_sensor | ||||
|     platform: adc | ||||
|     pin: VCC | ||||
|     attenuation: !remove | ||||
|     name: ADC Test sensor | ||||
|     update_interval: "1:01" | ||||
|     unit_of_measurement: "°C" | ||||
|     icon: "mdi:water-percent" | ||||
|     accuracy_decimals: 5 | ||||
|     setup_priority: -100 | ||||
|     force_update: true | ||||
|   | ||||
| @@ -1,9 +1,3 @@ | ||||
| spi: | ||||
|   - id: spi_adc128s102 | ||||
|     clk_pin: ${clk_pin} | ||||
|     mosi_pin: ${mosi_pin} | ||||
|     miso_pin: ${miso_pin} | ||||
|  | ||||
| adc128s102: | ||||
|   cs_pin: ${cs_pin} | ||||
|   id: adc128s102_adc | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO6 | ||||
|   mosi_pin: GPIO7 | ||||
|   miso_pin: GPIO5 | ||||
|   cs_pin: GPIO2 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO16 | ||||
|   mosi_pin: GPIO17 | ||||
|   miso_pin: GPIO15 | ||||
|   cs_pin: GPIO12 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,7 +1,10 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO14 | ||||
|   mosi_pin: GPIO13 | ||||
|   miso_pin: GPIO12 | ||||
|   clk_pin: GPIO0 | ||||
|   mosi_pin: GPIO2 | ||||
|   miso_pin: GPIO16 | ||||
|   cs_pin: GPIO15 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -4,4 +4,7 @@ substitutions: | ||||
|   miso_pin: GPIO4 | ||||
|   cs_pin: GPIO5 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,11 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_ade7880 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: ade7880 | ||||
|     i2c_id: i2c_ade7880 | ||||
|     i2c_id: i2c_bus | ||||
|     irq0_pin: ${irq0_pin} | ||||
|     irq1_pin: ${irq1_pin} | ||||
|     reset_pin: ${reset_pin} | ||||
|   | ||||
| @@ -1,8 +1,9 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   irq0_pin: GPIO6 | ||||
|   irq1_pin: GPIO7 | ||||
|   reset_pin: GPIO10 | ||||
|   reset_pin: GPIO9 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,8 +1,9 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   irq0_pin: GPIO13 | ||||
|   irq1_pin: GPIO15 | ||||
|   reset_pin: GPIO16 | ||||
|   reset_pin: GPIO12 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,8 +1,9 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   irq0_pin: GPIO13 | ||||
|   irq1_pin: GPIO15 | ||||
|   reset_pin: GPIO16 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,8 +1,9 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   irq0_pin: GPIO13 | ||||
|   irq1_pin: GPIO15 | ||||
|   reset_pin: GPIO16 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,20 +1,13 @@ | ||||
| i2c: | ||||
|   - id: i2c_ade7953 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: ade7953_i2c | ||||
|     i2c_id: i2c_bus | ||||
|     irq_pin: ${irq_pin} | ||||
|     voltage: | ||||
|       name: ADE7953 Voltage | ||||
|       id: ade7953_voltage | ||||
|     current_a: | ||||
|       name: ADE7953 Current A | ||||
|       id: ade7953_current_a | ||||
|     current_b: | ||||
|       name: ADE7953 Current B | ||||
|       id: ade7953_current_b | ||||
|     power_factor_a: | ||||
|       name: ADE7953 Power Factor A | ||||
|     power_factor_b: | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   irq_pin: GPIO6 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
|   irq_pin: GPIO15 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   irq_pin: GPIO15 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,6 +1,7 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
|   irq_pin: GPIO6 | ||||
|  | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,3 @@ | ||||
| spi: | ||||
|   - id: spi_ade7953 | ||||
|     clk_pin: ${clk_pin} | ||||
|     mosi_pin: ${mosi_pin} | ||||
|     miso_pin: ${miso_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: ade7953_spi | ||||
|     cs_pin: ${cs_pin} | ||||
|   | ||||
| @@ -1,8 +1,7 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO6 | ||||
|   mosi_pin: GPIO7 | ||||
|   miso_pin: GPIO5 | ||||
|   irq_pin: GPIO9 | ||||
|   cs_pin: GPIO8 | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,8 +1,8 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO16 | ||||
|   mosi_pin: GPIO17 | ||||
|   miso_pin: GPIO15 | ||||
|   irq_pin: GPIO13 | ||||
|   cs_pin: GPIO5 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,8 +1,11 @@ | ||||
| substitutions: | ||||
|   clk_pin: GPIO14 | ||||
|   mosi_pin: GPIO13 | ||||
|   miso_pin: GPIO12 | ||||
|   clk_pin: GPIO0 | ||||
|   mosi_pin: GPIO2 | ||||
|   miso_pin: GPIO16 | ||||
|   irq_pin: GPIO5 | ||||
|   cs_pin: GPIO15 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -5,4 +5,7 @@ substitutions: | ||||
|   irq_pin: GPIO5 | ||||
|   cs_pin: GPIO6 | ||||
|  | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_ads1115 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| ads1115: | ||||
|   i2c_id: i2c_bus | ||||
|   address: 0x48 | ||||
|  | ||||
| sensor: | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,3 @@ | ||||
| i2c: | ||||
|   - id: i2c_ags10 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|     frequency: 10kHz | ||||
|  | ||||
| sensor: | ||||
|   - platform: ags10 | ||||
|     id: ags10_1 | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c_low_freq: !include ../../test_build_components/common/i2c_low_freq/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
| packages: | ||||
|   i2c_low_freq: !include ../../test_build_components/common/i2c_low_freq/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c_low_freq: !include ../../test_build_components/common/i2c_low_freq/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_aht10 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: aht10 | ||||
|     i2c_id: i2c_bus | ||||
|     temperature: | ||||
|       name: Temperature | ||||
|     humidity: | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -6,10 +6,6 @@ esphome: | ||||
|       - audio_dac.set_volume: | ||||
|           volume: 50% | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_aic3204 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| audio_dac: | ||||
|   - platform: aic3204 | ||||
|     i2c_id: i2c_bus | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_am2315c | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: am2315c | ||||
|     i2c_id: i2c_bus | ||||
|     temperature: | ||||
|       name: Temperature | ||||
|     humidity: | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_am2320 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: am2320 | ||||
|     i2c_id: i2c_bus | ||||
|     temperature: | ||||
|       name: Temperature | ||||
|     humidity: | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,17 +1,13 @@ | ||||
| spi: | ||||
|   - id: spi_main_lcd | ||||
|     clk_pin: 6 | ||||
|     mosi_pin: 7 | ||||
|     miso_pin: 5 | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-c3-idf.yaml | ||||
|   animation: !include common.yaml | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: main_lcd | ||||
|     spi_id: spi_bus | ||||
|     model: ili9342 | ||||
|     cs_pin: 8 | ||||
|     dc_pin: 9 | ||||
|     reset_pin: 10 | ||||
|     invert_colors: false | ||||
|  | ||||
| packages: | ||||
|   animation: !include common.yaml | ||||
|   | ||||
| @@ -1,17 +1,13 @@ | ||||
| spi: | ||||
|   - id: spi_main_lcd | ||||
|     clk_pin: 16 | ||||
|     mosi_pin: 17 | ||||
|     miso_pin: 15 | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp32-idf.yaml | ||||
|   animation: !include common.yaml | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: main_lcd | ||||
|     spi_id: spi_bus | ||||
|     model: ili9342 | ||||
|     cs_pin: 12 | ||||
|     dc_pin: 13 | ||||
|     reset_pin: 21 | ||||
|     invert_colors: false | ||||
|  | ||||
| packages: | ||||
|   animation: !include common.yaml | ||||
|   | ||||
| @@ -1,17 +1,13 @@ | ||||
| spi: | ||||
|   - id: spi_main_lcd | ||||
|     clk_pin: 14 | ||||
|     mosi_pin: 13 | ||||
|     miso_pin: 12 | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/esp8266-ard.yaml | ||||
|   animation: !include common.yaml | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: main_lcd | ||||
|     spi_id: spi_bus | ||||
|     model: ili9342 | ||||
|     cs_pin: 5 | ||||
|     dc_pin: 15 | ||||
|     reset_pin: 16 | ||||
|     invert_colors: false | ||||
|  | ||||
| packages: | ||||
|   animation: !include common.yaml | ||||
|   | ||||
| @@ -1,17 +1,13 @@ | ||||
| spi: | ||||
|   - id: spi_main_lcd | ||||
|     clk_pin: 2 | ||||
|     mosi_pin: 3 | ||||
|     miso_pin: 4 | ||||
| packages: | ||||
|   spi: !include ../../test_build_components/common/spi/rp2040-ard.yaml | ||||
|   animation: !include common.yaml | ||||
|  | ||||
| display: | ||||
|   - platform: ili9xxx | ||||
|     id: main_lcd | ||||
|     spi_id: spi_bus | ||||
|     model: ili9342 | ||||
|     cs_pin: 20 | ||||
|     dc_pin: 21 | ||||
|     reset_pin: 22 | ||||
|     invert_colors: false | ||||
|  | ||||
| packages: | ||||
|   animation: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1 +1,4 @@ | ||||
| packages: | ||||
|   ble: !include ../../test_build_components/common/ble/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,10 +1,6 @@ | ||||
| i2c: | ||||
|   - id: i2c_apds9306 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| sensor: | ||||
|   - platform: apds9306 | ||||
|     i2c_id: i2c_bus | ||||
|     name: "APDS9306 Light Level" | ||||
|     gain: 3 | ||||
|     bit_width: 16 | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO22 | ||||
|   sda_pin: GPIO21 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,9 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_apds9960 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| apds9960: | ||||
|   i2c_id: i2c_bus | ||||
|   address: 0x20 | ||||
|   update_interval: 60s | ||||
|  | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO16 | ||||
|   sda_pin: GPIO17 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,5 +1,4 @@ | ||||
| substitutions: | ||||
|   scl_pin: GPIO5 | ||||
|   sda_pin: GPIO4 | ||||
| packages: | ||||
|   i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml | ||||
|  | ||||
| <<: !include common.yaml | ||||
|   | ||||
							
								
								
									
										89
									
								
								tests/components/api/common-base.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										89
									
								
								tests/components/api/common-base.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,89 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - homeassistant.event: | ||||
|           event: esphome.button_pressed | ||||
|           data: | ||||
|             message: Button was pressed | ||||
|       - homeassistant.action: | ||||
|           action: notify.html5 | ||||
|           data: | ||||
|             message: Button was pressed | ||||
|       - homeassistant.tag_scanned: pulse | ||||
|       - homeassistant.action: | ||||
|           action: weather.get_forecasts | ||||
|           data: | ||||
|             entity_id: weather.forecast_home | ||||
|             type: hourly | ||||
|           capture_response: true | ||||
|           on_success: | ||||
|             - lambda: |- | ||||
|                 JsonObjectConst next_hour = response["response"]["weather.forecast_home"]["forecast"][0]; | ||||
|                 float next_temperature = next_hour["temperature"].as<float>(); | ||||
|                 ESP_LOGD("main", "Next hour temperature: %f", next_temperature); | ||||
|           on_error: | ||||
|             - lambda: |- | ||||
|                 ESP_LOGE("main", "Action failed with error: %s", error.c_str()); | ||||
|       - homeassistant.action: | ||||
|           action: weather.get_forecasts | ||||
|           data: | ||||
|             entity_id: weather.forecast_home | ||||
|             type: hourly | ||||
|           capture_response: true | ||||
|           response_template: "{{ response['weather.forecast_home']['forecast'][0]['temperature'] }}" | ||||
|           on_success: | ||||
|             - lambda: |- | ||||
|                 float temperature = response["response"].as<float>(); | ||||
|                 ESP_LOGD("main", "Next hour temperature: %f", temperature); | ||||
|       - homeassistant.action: | ||||
|           action: light.toggle | ||||
|           data: | ||||
|             entity_id: light.demo_light | ||||
|           on_success: | ||||
|             - logger.log: "Toggled demo light" | ||||
|           on_error: | ||||
|             - logger.log: "Failed to toggle demo light" | ||||
|  | ||||
| api: | ||||
|   port: 8000 | ||||
|   reboot_timeout: 0min | ||||
|   actions: | ||||
|     - action: hello_world | ||||
|       variables: | ||||
|         name: string | ||||
|       then: | ||||
|         - logger.log: | ||||
|             format: Hello World %s! | ||||
|             args: | ||||
|               - name.c_str() | ||||
|     - action: empty_action | ||||
|       then: | ||||
|         - logger.log: Action Called | ||||
|     - action: all_types | ||||
|       variables: | ||||
|         bool_: bool | ||||
|         int_: int | ||||
|         float_: float | ||||
|         string_: string | ||||
|       then: | ||||
|         - logger.log: Something happened | ||||
|     - action: array_types | ||||
|       variables: | ||||
|         bool_arr: bool[] | ||||
|         int_arr: int[] | ||||
|         float_arr: float[] | ||||
|         string_arr: string[] | ||||
|       then: | ||||
|         - logger.log: | ||||
|             # yamllint disable rule:line-length | ||||
|             format: "Bool: %s (%u), Int: %ld (%u), Float: %f (%u), String: %s (%u)" | ||||
|             # yamllint enable rule:line-length | ||||
|             args: | ||||
|               - YESNO(bool_arr[0]) | ||||
|               - bool_arr.size() | ||||
|               - (long) int_arr[0] | ||||
|               - int_arr.size() | ||||
|               - float_arr[0] | ||||
|               - float_arr.size() | ||||
|               - string_arr[0].c_str() | ||||
|               - string_arr.size() | ||||
| @@ -1,91 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - homeassistant.event: | ||||
|           event: esphome.button_pressed | ||||
|           data: | ||||
|             message: Button was pressed | ||||
|       - homeassistant.action: | ||||
|           action: notify.html5 | ||||
|           data: | ||||
|             message: Button was pressed | ||||
|       - homeassistant.tag_scanned: pulse | ||||
|       - homeassistant.action: | ||||
|           action: weather.get_forecasts | ||||
|           data: | ||||
|             entity_id: weather.forecast_home | ||||
|             type: hourly | ||||
|           capture_response: true | ||||
|           on_success: | ||||
|             - lambda: |- | ||||
|                 JsonObjectConst next_hour = response["response"]["weather.forecast_home"]["forecast"][0]; | ||||
|                 float next_temperature = next_hour["temperature"].as<float>(); | ||||
|                 ESP_LOGD("main", "Next hour temperature: %f", next_temperature); | ||||
|           on_error: | ||||
|             - lambda: |- | ||||
|                 ESP_LOGE("main", "Action failed with error: %s", error.c_str()); | ||||
|       - homeassistant.action: | ||||
|           action: weather.get_forecasts | ||||
|           data: | ||||
|             entity_id: weather.forecast_home | ||||
|             type: hourly | ||||
|           capture_response: true | ||||
|           response_template: "{{ response['weather.forecast_home']['forecast'][0]['temperature'] }}" | ||||
|           on_success: | ||||
|             - lambda: |- | ||||
|                 float temperature = response["response"].as<float>(); | ||||
|                 ESP_LOGD("main", "Next hour temperature: %f", temperature); | ||||
|       - homeassistant.action: | ||||
|           action: light.toggle | ||||
|           data: | ||||
|             entity_id: light.demo_light | ||||
|           on_success: | ||||
|             - logger.log: "Toggled demo light" | ||||
|           on_error: | ||||
|             - logger.log: "Failed to toggle demo light" | ||||
| <<: !include common-base.yaml | ||||
|  | ||||
| api: | ||||
|   port: 8000 | ||||
|   reboot_timeout: 0min | ||||
|   encryption: | ||||
|     key: bOFFzzvfpg5DB94DuBGLXD/hMnhpDKgP9UQyBulwWVU= | ||||
|   actions: | ||||
|     - action: hello_world | ||||
|       variables: | ||||
|         name: string | ||||
|       then: | ||||
|         - logger.log: | ||||
|             format: Hello World %s! | ||||
|             args: | ||||
|               - name.c_str() | ||||
|     - action: empty_action | ||||
|       then: | ||||
|         - logger.log: Action Called | ||||
|     - action: all_types | ||||
|       variables: | ||||
|         bool_: bool | ||||
|         int_: int | ||||
|         float_: float | ||||
|         string_: string | ||||
|       then: | ||||
|         - logger.log: Something happened | ||||
|     - action: array_types | ||||
|       variables: | ||||
|         bool_arr: bool[] | ||||
|         int_arr: int[] | ||||
|         float_arr: float[] | ||||
|         string_arr: string[] | ||||
|       then: | ||||
|         - logger.log: | ||||
|             # yamllint disable rule:line-length | ||||
|             format: "Bool: %s (%u), Int: %ld (%u), Float: %f (%u), String: %s (%u)" | ||||
|             # yamllint enable rule:line-length | ||||
|             args: | ||||
|               - YESNO(bool_arr[0]) | ||||
|               - bool_arr.size() | ||||
|               - (long) int_arr[0] | ||||
|               - int_arr.size() | ||||
|               - float_arr[0] | ||||
|               - float_arr.size() | ||||
|               - string_arr[0].c_str() | ||||
|               - string_arr.size() | ||||
|   | ||||
| @@ -1,10 +1,5 @@ | ||||
| packages: | ||||
|   common: !include common.yaml | ||||
| <<: !include common-base.yaml | ||||
|  | ||||
| wifi: | ||||
|   ssid: MySSID | ||||
|   password: password1 | ||||
|  | ||||
| api: | ||||
|   encryption: | ||||
|     key: !remove | ||||
|   | ||||
| @@ -1,9 +1,5 @@ | ||||
| i2c: | ||||
|   - id: i2c_as3935 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| as3935_i2c: | ||||
|   i2c_id: i2c_bus | ||||
|   irq_pin: ${irq_pin} | ||||
|  | ||||
| binary_sensor: | ||||
|   | ||||
Some files were not shown because too many files have changed in this diff Show More
		Reference in New Issue
	
	Block a user