mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 21:14:52 +01:00
Add some components to the new testing framework (E) (#6176)
This commit is contained in:
parent
95443a4354
commit
61f11386a9
111 changed files with 2106 additions and 0 deletions
18
tests/components/e131/test.esp32-c3-idf.yaml
Normal file
18
tests/components/e131/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
e131:
|
||||
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_matrix_32x8
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
rmt_channel: 0
|
||||
effects:
|
||||
- e131:
|
||||
universe: 1
|
18
tests/components/e131/test.esp32-c3.yaml
Normal file
18
tests/components/e131/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
e131:
|
||||
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_matrix_32x8
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
rmt_channel: 0
|
||||
effects:
|
||||
- e131:
|
||||
universe: 1
|
18
tests/components/e131/test.esp32-idf.yaml
Normal file
18
tests/components/e131/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
e131:
|
||||
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_matrix_32x8
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
rmt_channel: 0
|
||||
effects:
|
||||
- e131:
|
||||
universe: 1
|
18
tests/components/e131/test.esp32.yaml
Normal file
18
tests/components/e131/test.esp32.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
e131:
|
||||
|
||||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_matrix_32x8
|
||||
default_transition_length: 500ms
|
||||
chipset: ws2812
|
||||
rgb_order: GRB
|
||||
num_leds: 256
|
||||
pin: 2
|
||||
rmt_channel: 0
|
||||
effects:
|
||||
- e131:
|
||||
universe: 1
|
17
tests/components/e131/test.esp8266.yaml
Normal file
17
tests/components/e131/test.esp8266.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
e131:
|
||||
|
||||
light:
|
||||
- platform: neopixelbus
|
||||
name: Neopixelbus Light
|
||||
pin: 1
|
||||
type: GRBW
|
||||
variant: SK6812
|
||||
method: ESP8266_UART0
|
||||
num_leds: 256
|
||||
effects:
|
||||
- e131:
|
||||
universe: 1
|
17
tests/components/e131/test.rp2040.yaml
Normal file
17
tests/components/e131/test.rp2040.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
e131:
|
||||
|
||||
light:
|
||||
- platform: rp2040_pio_led_strip
|
||||
id: led_strip
|
||||
pin: 2
|
||||
pio: 0
|
||||
num_leds: 256
|
||||
rgb_order: GRB
|
||||
chipset: WS2812
|
||||
effects:
|
||||
- e131:
|
||||
universe: 1
|
14
tests/components/ee895/test.esp32-c3-idf.yaml
Normal file
14
tests/components/ee895/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_ee895
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ee895
|
||||
address: 0x5F
|
||||
co2:
|
||||
name: EE895 CO2
|
||||
temperature:
|
||||
name: EE895 Temperature
|
||||
pressure:
|
||||
name: EE895 Pressure
|
14
tests/components/ee895/test.esp32-c3.yaml
Normal file
14
tests/components/ee895/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_ee895
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ee895
|
||||
address: 0x5F
|
||||
co2:
|
||||
name: EE895 CO2
|
||||
temperature:
|
||||
name: EE895 Temperature
|
||||
pressure:
|
||||
name: EE895 Pressure
|
14
tests/components/ee895/test.esp32-idf.yaml
Normal file
14
tests/components/ee895/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_ee895
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ee895
|
||||
address: 0x5F
|
||||
co2:
|
||||
name: EE895 CO2
|
||||
temperature:
|
||||
name: EE895 Temperature
|
||||
pressure:
|
||||
name: EE895 Pressure
|
14
tests/components/ee895/test.esp32.yaml
Normal file
14
tests/components/ee895/test.esp32.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_ee895
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ee895
|
||||
address: 0x5F
|
||||
co2:
|
||||
name: EE895 CO2
|
||||
temperature:
|
||||
name: EE895 Temperature
|
||||
pressure:
|
||||
name: EE895 Pressure
|
14
tests/components/ee895/test.esp8266.yaml
Normal file
14
tests/components/ee895/test.esp8266.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_ee895
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ee895
|
||||
address: 0x5F
|
||||
co2:
|
||||
name: EE895 CO2
|
||||
temperature:
|
||||
name: EE895 Temperature
|
||||
pressure:
|
||||
name: EE895 Pressure
|
14
tests/components/ee895/test.rp2040.yaml
Normal file
14
tests/components/ee895/test.rp2040.yaml
Normal file
|
@ -0,0 +1,14 @@
|
|||
i2c:
|
||||
- id: i2c_ee895
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ee895
|
||||
address: 0x5F
|
||||
co2:
|
||||
name: EE895 CO2
|
||||
temperature:
|
||||
name: EE895 Temperature
|
||||
pressure:
|
||||
name: EE895 Pressure
|
24
tests/components/ektf2232/test.esp32-c3-idf.yaml
Normal file
24
tests/components/ektf2232/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
i2c:
|
||||
- id: i2c_ektf2232
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: ssd1306_i2c
|
||||
id: ssd1306_display
|
||||
model: SSD1306_128X64
|
||||
reset_pin: 3
|
||||
pages:
|
||||
- id: page1
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: ektf2232
|
||||
interrupt_pin: 6
|
||||
rts_pin: 7
|
||||
display: ssd1306_display
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
24
tests/components/ektf2232/test.esp32-c3.yaml
Normal file
24
tests/components/ektf2232/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
i2c:
|
||||
- id: i2c_ektf2232
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: ssd1306_i2c
|
||||
id: ssd1306_display
|
||||
model: SSD1306_128X64
|
||||
reset_pin: 3
|
||||
pages:
|
||||
- id: page1
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: ektf2232
|
||||
interrupt_pin: 6
|
||||
rts_pin: 7
|
||||
display: ssd1306_display
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
24
tests/components/ektf2232/test.esp32-idf.yaml
Normal file
24
tests/components/ektf2232/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
i2c:
|
||||
- id: i2c_ektf2232
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
display:
|
||||
- platform: ssd1306_i2c
|
||||
id: ssd1306_display
|
||||
model: SSD1306_128X64
|
||||
reset_pin: 13
|
||||
pages:
|
||||
- id: page1
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: ektf2232
|
||||
interrupt_pin: 14
|
||||
rts_pin: 15
|
||||
display: ssd1306_display
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
24
tests/components/ektf2232/test.esp32.yaml
Normal file
24
tests/components/ektf2232/test.esp32.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
i2c:
|
||||
- id: i2c_ektf2232
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
display:
|
||||
- platform: ssd1306_i2c
|
||||
id: ssd1306_display
|
||||
model: SSD1306_128X64
|
||||
reset_pin: 13
|
||||
pages:
|
||||
- id: page1
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: ektf2232
|
||||
interrupt_pin: 14
|
||||
rts_pin: 15
|
||||
display: ssd1306_display
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
24
tests/components/ektf2232/test.esp8266.yaml
Normal file
24
tests/components/ektf2232/test.esp8266.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
i2c:
|
||||
- id: i2c_ektf2232
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: ssd1306_i2c
|
||||
id: ssd1306_display
|
||||
model: SSD1306_128X64
|
||||
reset_pin: 3
|
||||
pages:
|
||||
- id: page1
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: ektf2232
|
||||
interrupt_pin: 12
|
||||
rts_pin: 13
|
||||
display: ssd1306_display
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
24
tests/components/ektf2232/test.rp2040.yaml
Normal file
24
tests/components/ektf2232/test.rp2040.yaml
Normal file
|
@ -0,0 +1,24 @@
|
|||
i2c:
|
||||
- id: i2c_ektf2232
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
display:
|
||||
- platform: ssd1306_i2c
|
||||
id: ssd1306_display
|
||||
model: SSD1306_128X64
|
||||
reset_pin: 3
|
||||
pages:
|
||||
- id: page1
|
||||
lambda: |-
|
||||
it.rectangle(0, 0, it.get_width(), it.get_height());
|
||||
|
||||
touchscreen:
|
||||
- platform: ektf2232
|
||||
interrupt_pin: 6
|
||||
rts_pin: 7
|
||||
display: ssd1306_display
|
||||
on_touch:
|
||||
- logger.log:
|
||||
format: Touch at (%d, %d)
|
||||
args: [touch.x, touch.y]
|
25
tests/components/emc2101/test.esp32-c3-idf.yaml
Normal file
25
tests/components/emc2101/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
i2c:
|
||||
- id: i2c_emc2101
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
emc2101:
|
||||
pwm:
|
||||
resolution: 8
|
||||
|
||||
output:
|
||||
- platform: emc2101
|
||||
id: fan_duty_cycle
|
||||
|
||||
sensor:
|
||||
- platform: emc2101
|
||||
internal_temperature:
|
||||
id: internal_temperature_sensor
|
||||
name: Internal Temperature Sensor
|
||||
speed:
|
||||
id: speed_sensor
|
||||
name: Speed Sensor
|
||||
duty_cycle:
|
||||
id: duty_cycle_sensor
|
||||
name: Duty Cycle Sensor
|
||||
update_interval: 5s
|
25
tests/components/emc2101/test.esp32-c3.yaml
Normal file
25
tests/components/emc2101/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
i2c:
|
||||
- id: i2c_emc2101
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
emc2101:
|
||||
pwm:
|
||||
resolution: 8
|
||||
|
||||
output:
|
||||
- platform: emc2101
|
||||
id: fan_duty_cycle
|
||||
|
||||
sensor:
|
||||
- platform: emc2101
|
||||
internal_temperature:
|
||||
id: internal_temperature_sensor
|
||||
name: Internal Temperature Sensor
|
||||
speed:
|
||||
id: speed_sensor
|
||||
name: Speed Sensor
|
||||
duty_cycle:
|
||||
id: duty_cycle_sensor
|
||||
name: Duty Cycle Sensor
|
||||
update_interval: 5s
|
25
tests/components/emc2101/test.esp32-idf.yaml
Normal file
25
tests/components/emc2101/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
i2c:
|
||||
- id: i2c_emc2101
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
emc2101:
|
||||
pwm:
|
||||
resolution: 8
|
||||
|
||||
output:
|
||||
- platform: emc2101
|
||||
id: fan_duty_cycle
|
||||
|
||||
sensor:
|
||||
- platform: emc2101
|
||||
internal_temperature:
|
||||
id: internal_temperature_sensor
|
||||
name: Internal Temperature Sensor
|
||||
speed:
|
||||
id: speed_sensor
|
||||
name: Speed Sensor
|
||||
duty_cycle:
|
||||
id: duty_cycle_sensor
|
||||
name: Duty Cycle Sensor
|
||||
update_interval: 5s
|
25
tests/components/emc2101/test.esp32.yaml
Normal file
25
tests/components/emc2101/test.esp32.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
i2c:
|
||||
- id: i2c_emc2101
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
emc2101:
|
||||
pwm:
|
||||
resolution: 8
|
||||
|
||||
output:
|
||||
- platform: emc2101
|
||||
id: fan_duty_cycle
|
||||
|
||||
sensor:
|
||||
- platform: emc2101
|
||||
internal_temperature:
|
||||
id: internal_temperature_sensor
|
||||
name: Internal Temperature Sensor
|
||||
speed:
|
||||
id: speed_sensor
|
||||
name: Speed Sensor
|
||||
duty_cycle:
|
||||
id: duty_cycle_sensor
|
||||
name: Duty Cycle Sensor
|
||||
update_interval: 5s
|
25
tests/components/emc2101/test.esp8266.yaml
Normal file
25
tests/components/emc2101/test.esp8266.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
i2c:
|
||||
- id: i2c_emc2101
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
emc2101:
|
||||
pwm:
|
||||
resolution: 8
|
||||
|
||||
output:
|
||||
- platform: emc2101
|
||||
id: fan_duty_cycle
|
||||
|
||||
sensor:
|
||||
- platform: emc2101
|
||||
internal_temperature:
|
||||
id: internal_temperature_sensor
|
||||
name: Internal Temperature Sensor
|
||||
speed:
|
||||
id: speed_sensor
|
||||
name: Speed Sensor
|
||||
duty_cycle:
|
||||
id: duty_cycle_sensor
|
||||
name: Duty Cycle Sensor
|
||||
update_interval: 5s
|
25
tests/components/emc2101/test.rp2040.yaml
Normal file
25
tests/components/emc2101/test.rp2040.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
i2c:
|
||||
- id: i2c_emc2101
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
emc2101:
|
||||
pwm:
|
||||
resolution: 8
|
||||
|
||||
output:
|
||||
- platform: emc2101
|
||||
id: fan_duty_cycle
|
||||
|
||||
sensor:
|
||||
- platform: emc2101
|
||||
internal_temperature:
|
||||
id: internal_temperature_sensor
|
||||
name: Internal Temperature Sensor
|
||||
speed:
|
||||
id: speed_sensor
|
||||
name: Speed Sensor
|
||||
duty_cycle:
|
||||
id: duty_cycle_sensor
|
||||
name: Duty Cycle Sensor
|
||||
update_interval: 5s
|
33
tests/components/endstop/test.esp32-c3-idf.yaml
Normal file
33
tests/components/endstop/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
cover:
|
||||
- platform: endstop
|
||||
id: endstop_cover
|
||||
name: Endstop Cover
|
||||
stop_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_endstop: bin1
|
||||
open_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_duration: 5min
|
||||
close_endstop: bin1
|
||||
close_action:
|
||||
- switch.turn_on: template_switch2
|
||||
close_duration: 4.5min
|
||||
max_duration: 10min
|
33
tests/components/endstop/test.esp32-c3.yaml
Normal file
33
tests/components/endstop/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
cover:
|
||||
- platform: endstop
|
||||
id: endstop_cover
|
||||
name: Endstop Cover
|
||||
stop_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_endstop: bin1
|
||||
open_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_duration: 5min
|
||||
close_endstop: bin1
|
||||
close_action:
|
||||
- switch.turn_on: template_switch2
|
||||
close_duration: 4.5min
|
||||
max_duration: 10min
|
33
tests/components/endstop/test.esp32-idf.yaml
Normal file
33
tests/components/endstop/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
cover:
|
||||
- platform: endstop
|
||||
id: endstop_cover
|
||||
name: Endstop Cover
|
||||
stop_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_endstop: bin1
|
||||
open_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_duration: 5min
|
||||
close_endstop: bin1
|
||||
close_action:
|
||||
- switch.turn_on: template_switch2
|
||||
close_duration: 4.5min
|
||||
max_duration: 10min
|
33
tests/components/endstop/test.esp32.yaml
Normal file
33
tests/components/endstop/test.esp32.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
cover:
|
||||
- platform: endstop
|
||||
id: endstop_cover
|
||||
name: Endstop Cover
|
||||
stop_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_endstop: bin1
|
||||
open_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_duration: 5min
|
||||
close_endstop: bin1
|
||||
close_action:
|
||||
- switch.turn_on: template_switch2
|
||||
close_duration: 4.5min
|
||||
max_duration: 10min
|
33
tests/components/endstop/test.esp8266.yaml
Normal file
33
tests/components/endstop/test.esp8266.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
cover:
|
||||
- platform: endstop
|
||||
id: endstop_cover
|
||||
name: Endstop Cover
|
||||
stop_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_endstop: bin1
|
||||
open_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_duration: 5min
|
||||
close_endstop: bin1
|
||||
close_action:
|
||||
- switch.turn_on: template_switch2
|
||||
close_duration: 4.5min
|
||||
max_duration: 10min
|
33
tests/components/endstop/test.rp2040.yaml
Normal file
33
tests/components/endstop/test.rp2040.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
binary_sensor:
|
||||
- platform: template
|
||||
id: bin1
|
||||
lambda: |-
|
||||
if (millis() > 10000) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch:
|
||||
- platform: template
|
||||
id: template_switch1
|
||||
optimistic: true
|
||||
- platform: template
|
||||
id: template_switch2
|
||||
optimistic: true
|
||||
|
||||
cover:
|
||||
- platform: endstop
|
||||
id: endstop_cover
|
||||
name: Endstop Cover
|
||||
stop_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_endstop: bin1
|
||||
open_action:
|
||||
- switch.turn_on: template_switch1
|
||||
open_duration: 5min
|
||||
close_endstop: bin1
|
||||
close_action:
|
||||
- switch.turn_on: template_switch2
|
||||
close_duration: 4.5min
|
||||
max_duration: 10min
|
13
tests/components/ens160/test.esp32-c3-idf.yaml
Normal file
13
tests/components/ens160/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
i2c:
|
||||
- id: i2c_ens160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens160
|
||||
eco2:
|
||||
name: ENS160 eCO2
|
||||
tvoc:
|
||||
name: ENS160 Total Volatile Organic Compounds
|
||||
aqi:
|
||||
name: ENS160 Air Quality Index
|
13
tests/components/ens160/test.esp32-c3.yaml
Normal file
13
tests/components/ens160/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
i2c:
|
||||
- id: i2c_ens160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens160
|
||||
eco2:
|
||||
name: ENS160 eCO2
|
||||
tvoc:
|
||||
name: ENS160 Total Volatile Organic Compounds
|
||||
aqi:
|
||||
name: ENS160 Air Quality Index
|
13
tests/components/ens160/test.esp32-idf.yaml
Normal file
13
tests/components/ens160/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
i2c:
|
||||
- id: i2c_ens160
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ens160
|
||||
eco2:
|
||||
name: ENS160 eCO2
|
||||
tvoc:
|
||||
name: ENS160 Total Volatile Organic Compounds
|
||||
aqi:
|
||||
name: ENS160 Air Quality Index
|
13
tests/components/ens160/test.esp32.yaml
Normal file
13
tests/components/ens160/test.esp32.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
i2c:
|
||||
- id: i2c_ens160
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ens160
|
||||
eco2:
|
||||
name: ENS160 eCO2
|
||||
tvoc:
|
||||
name: ENS160 Total Volatile Organic Compounds
|
||||
aqi:
|
||||
name: ENS160 Air Quality Index
|
13
tests/components/ens160/test.esp8266.yaml
Normal file
13
tests/components/ens160/test.esp8266.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
i2c:
|
||||
- id: i2c_ens160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens160
|
||||
eco2:
|
||||
name: ENS160 eCO2
|
||||
tvoc:
|
||||
name: ENS160 Total Volatile Organic Compounds
|
||||
aqi:
|
||||
name: ENS160 Air Quality Index
|
13
tests/components/ens160/test.rp2040.yaml
Normal file
13
tests/components/ens160/test.rp2040.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
i2c:
|
||||
- id: i2c_ens160
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens160
|
||||
eco2:
|
||||
name: ENS160 eCO2
|
||||
tvoc:
|
||||
name: ENS160 Total Volatile Organic Compounds
|
||||
aqi:
|
||||
name: ENS160 Air Quality Index
|
12
tests/components/ens210/test.esp32-c3-idf.yaml
Normal file
12
tests/components/ens210/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_ens210
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens210
|
||||
temperature:
|
||||
name: ENS210 Temperature
|
||||
humidity:
|
||||
name: ENS210 Humidity
|
||||
update_interval: 15s
|
12
tests/components/ens210/test.esp32-c3.yaml
Normal file
12
tests/components/ens210/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_ens210
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens210
|
||||
temperature:
|
||||
name: ENS210 Temperature
|
||||
humidity:
|
||||
name: ENS210 Humidity
|
||||
update_interval: 15s
|
12
tests/components/ens210/test.esp32-idf.yaml
Normal file
12
tests/components/ens210/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_ens210
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ens210
|
||||
temperature:
|
||||
name: ENS210 Temperature
|
||||
humidity:
|
||||
name: ENS210 Humidity
|
||||
update_interval: 15s
|
12
tests/components/ens210/test.esp32.yaml
Normal file
12
tests/components/ens210/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_ens210
|
||||
scl: 16
|
||||
sda: 17
|
||||
|
||||
sensor:
|
||||
- platform: ens210
|
||||
temperature:
|
||||
name: ENS210 Temperature
|
||||
humidity:
|
||||
name: ENS210 Humidity
|
||||
update_interval: 15s
|
12
tests/components/ens210/test.esp8266.yaml
Normal file
12
tests/components/ens210/test.esp8266.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_ens210
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens210
|
||||
temperature:
|
||||
name: ENS210 Temperature
|
||||
humidity:
|
||||
name: ENS210 Humidity
|
||||
update_interval: 15s
|
12
tests/components/ens210/test.rp2040.yaml
Normal file
12
tests/components/ens210/test.rp2040.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
i2c:
|
||||
- id: i2c_ens210
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ens210
|
||||
temperature:
|
||||
name: ENS210 Temperature
|
||||
humidity:
|
||||
name: ENS210 Humidity
|
||||
update_interval: 15s
|
2
tests/components/esp32_ble/test.esp32-c3-idf.yaml
Normal file
2
tests/components/esp32_ble/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
esp32_ble:
|
||||
io_capability: keyboard_only
|
2
tests/components/esp32_ble/test.esp32-c3.yaml
Normal file
2
tests/components/esp32_ble/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
esp32_ble:
|
||||
io_capability: keyboard_only
|
2
tests/components/esp32_ble/test.esp32-idf.yaml
Normal file
2
tests/components/esp32_ble/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
esp32_ble:
|
||||
io_capability: keyboard_only
|
2
tests/components/esp32_ble/test.esp32.yaml
Normal file
2
tests/components/esp32_ble/test.esp32.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
esp32_ble:
|
||||
io_capability: keyboard_only
|
3
tests/components/esp32_ble_beacon/test.esp32-c3-idf.yaml
Normal file
3
tests/components/esp32_ble_beacon/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_beacon:
|
||||
type: iBeacon
|
||||
uuid: 'c29ce823-e67a-4e71-bff2-abaa32e77a98'
|
3
tests/components/esp32_ble_beacon/test.esp32-c3.yaml
Normal file
3
tests/components/esp32_ble_beacon/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_beacon:
|
||||
type: iBeacon
|
||||
uuid: 'c29ce823-e67a-4e71-bff2-abaa32e77a98'
|
3
tests/components/esp32_ble_beacon/test.esp32-idf.yaml
Normal file
3
tests/components/esp32_ble_beacon/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_beacon:
|
||||
type: iBeacon
|
||||
uuid: 'c29ce823-e67a-4e71-bff2-abaa32e77a98'
|
3
tests/components/esp32_ble_beacon/test.esp32.yaml
Normal file
3
tests/components/esp32_ble_beacon/test.esp32.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_beacon:
|
||||
type: iBeacon
|
||||
uuid: 'c29ce823-e67a-4e71-bff2-abaa32e77a98'
|
5
tests/components/esp32_ble_client/test.esp32-c3-idf.yaml
Normal file
5
tests/components/esp32_ble_client/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: blec
|
5
tests/components/esp32_ble_client/test.esp32-c3.yaml
Normal file
5
tests/components/esp32_ble_client/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: blec
|
5
tests/components/esp32_ble_client/test.esp32-idf.yaml
Normal file
5
tests/components/esp32_ble_client/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: blec
|
5
tests/components/esp32_ble_client/test.esp32.yaml
Normal file
5
tests/components/esp32_ble_client/test.esp32.yaml
Normal file
|
@ -0,0 +1,5 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
ble_client:
|
||||
- mac_address: 01:02:03:04:05:06
|
||||
id: blec
|
3
tests/components/esp32_ble_server/test.esp32-c3-idf.yaml
Normal file
3
tests/components/esp32_ble_server/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_server:
|
||||
id: ble
|
||||
manufacturer_data: [0x72, 0x4, 0x00, 0x23]
|
3
tests/components/esp32_ble_server/test.esp32-c3.yaml
Normal file
3
tests/components/esp32_ble_server/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_server:
|
||||
id: ble
|
||||
manufacturer_data: [0x72, 0x4, 0x00, 0x23]
|
3
tests/components/esp32_ble_server/test.esp32-idf.yaml
Normal file
3
tests/components/esp32_ble_server/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_server:
|
||||
id: ble
|
||||
manufacturer_data: [0x72, 0x4, 0x00, 0x23]
|
3
tests/components/esp32_ble_server/test.esp32.yaml
Normal file
3
tests/components/esp32_ble_server/test.esp32.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
esp32_ble_server:
|
||||
id: ble
|
||||
manufacturer_data: [0x72, 0x4, 0x00, 0x23]
|
41
tests/components/esp32_ble_tracker/test.esp32-c3-idf.yaml
Normal file
41
tests/components/esp32_ble_tracker/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- esp32_ble_tracker.start_scan
|
||||
- esp32_ble_tracker.stop_scan
|
||||
|
||||
esp32_ble_tracker:
|
||||
on_ble_advertise:
|
||||
- mac_address:
|
||||
- AA:BB:CC:DD:EE:FF
|
||||
- FF:EE:DD:CC:BB:AA
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address (%s) exists in list", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- mac_address: AC:37:43:77:5F:4C
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
on_ble_service_data_advertise:
|
||||
- service_uuid: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of service data is %i", x.size());
|
||||
on_ble_manufacturer_data_advertise:
|
||||
- manufacturer_id: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of manufacturer data is %i", x.size());
|
||||
on_scan_end:
|
||||
- then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("ble_auto", "The scan has ended!");
|
41
tests/components/esp32_ble_tracker/test.esp32-c3.yaml
Normal file
41
tests/components/esp32_ble_tracker/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- esp32_ble_tracker.start_scan
|
||||
- esp32_ble_tracker.stop_scan
|
||||
|
||||
esp32_ble_tracker:
|
||||
on_ble_advertise:
|
||||
- mac_address:
|
||||
- AA:BB:CC:DD:EE:FF
|
||||
- FF:EE:DD:CC:BB:AA
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address (%s) exists in list", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- mac_address: AC:37:43:77:5F:4C
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
on_ble_service_data_advertise:
|
||||
- service_uuid: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of service data is %i", x.size());
|
||||
on_ble_manufacturer_data_advertise:
|
||||
- manufacturer_id: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of manufacturer data is %i", x.size());
|
||||
on_scan_end:
|
||||
- then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("ble_auto", "The scan has ended!");
|
41
tests/components/esp32_ble_tracker/test.esp32-idf.yaml
Normal file
41
tests/components/esp32_ble_tracker/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- esp32_ble_tracker.start_scan
|
||||
- esp32_ble_tracker.stop_scan
|
||||
|
||||
esp32_ble_tracker:
|
||||
on_ble_advertise:
|
||||
- mac_address:
|
||||
- AA:BB:CC:DD:EE:FF
|
||||
- FF:EE:DD:CC:BB:AA
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address (%s) exists in list", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- mac_address: AC:37:43:77:5F:4C
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
on_ble_service_data_advertise:
|
||||
- service_uuid: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of service data is %i", x.size());
|
||||
on_ble_manufacturer_data_advertise:
|
||||
- manufacturer_id: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of manufacturer data is %i", x.size());
|
||||
on_scan_end:
|
||||
- then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("ble_auto", "The scan has ended!");
|
41
tests/components/esp32_ble_tracker/test.esp32.yaml
Normal file
41
tests/components/esp32_ble_tracker/test.esp32.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- esp32_ble_tracker.start_scan
|
||||
- esp32_ble_tracker.stop_scan
|
||||
|
||||
esp32_ble_tracker:
|
||||
on_ble_advertise:
|
||||
- mac_address:
|
||||
- AA:BB:CC:DD:EE:FF
|
||||
- FF:EE:DD:CC:BB:AA
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address (%s) exists in list", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- mac_address: AC:37:43:77:5F:4C
|
||||
then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
- then:
|
||||
# yamllint disable rule:line-length
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "The device address is %s", x.address_str().c_str());
|
||||
# yamllint enable rule:line-length
|
||||
on_ble_service_data_advertise:
|
||||
- service_uuid: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of service data is %i", x.size());
|
||||
on_ble_manufacturer_data_advertise:
|
||||
- manufacturer_id: ABCD
|
||||
then:
|
||||
- lambda: !lambda |-
|
||||
ESP_LOGD("main", "Length of manufacturer data is %i", x.size());
|
||||
on_scan_end:
|
||||
- then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("ble_auto", "The scan has ended!");
|
28
tests/components/esp32_camera/test.esp32-idf.yaml
Normal file
28
tests/components/esp32_camera/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
esp32_camera:
|
||||
name: ESP32 Camera
|
||||
data_pins:
|
||||
- number: 17
|
||||
- number: 35
|
||||
- number: 34
|
||||
- number: 5
|
||||
- number: 39
|
||||
- number: 18
|
||||
- number: 36
|
||||
- number: 19
|
||||
vsync_pin: 22
|
||||
href_pin: 26
|
||||
pixel_clock_pin: 21
|
||||
external_clock:
|
||||
pin: 27
|
||||
frequency: 20MHz
|
||||
i2c_pins:
|
||||
sda: 25
|
||||
scl: 23
|
||||
reset_pin: 15
|
||||
power_down_pin: 1
|
||||
resolution: 640x480
|
||||
jpeg_quality: 10
|
||||
on_image:
|
||||
then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "image len=%d, data=%c", image.length, image.data[0]);
|
28
tests/components/esp32_camera/test.esp32.yaml
Normal file
28
tests/components/esp32_camera/test.esp32.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
esp32_camera:
|
||||
name: ESP32 Camera
|
||||
data_pins:
|
||||
- number: 17
|
||||
- number: 35
|
||||
- number: 34
|
||||
- number: 5
|
||||
- number: 39
|
||||
- number: 18
|
||||
- number: 36
|
||||
- number: 19
|
||||
vsync_pin: 22
|
||||
href_pin: 26
|
||||
pixel_clock_pin: 21
|
||||
external_clock:
|
||||
pin: 27
|
||||
frequency: 20MHz
|
||||
i2c_pins:
|
||||
sda: 25
|
||||
scl: 23
|
||||
reset_pin: 15
|
||||
power_down_pin: 1
|
||||
resolution: 640x480
|
||||
jpeg_quality: 10
|
||||
on_image:
|
||||
then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "image len=%d, data=%c", image.length, image.data[0]);
|
34
tests/components/esp32_camera_web_server/test.esp32-idf.yaml
Normal file
34
tests/components/esp32_camera_web_server/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
esp32_camera:
|
||||
name: ESP32 Camera
|
||||
data_pins:
|
||||
- number: 17
|
||||
- number: 35
|
||||
- number: 34
|
||||
- number: 5
|
||||
- number: 39
|
||||
- number: 18
|
||||
- number: 36
|
||||
- number: 19
|
||||
vsync_pin: 22
|
||||
href_pin: 26
|
||||
pixel_clock_pin: 21
|
||||
external_clock:
|
||||
pin: 27
|
||||
frequency: 20MHz
|
||||
i2c_pins:
|
||||
sda: 25
|
||||
scl: 23
|
||||
reset_pin: 15
|
||||
power_down_pin: 1
|
||||
resolution: 640x480
|
||||
jpeg_quality: 10
|
||||
on_image:
|
||||
then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "image len=%d, data=%c", image.length, image.data[0]);
|
||||
|
||||
esp32_camera_web_server:
|
||||
- port: 8080
|
||||
mode: stream
|
||||
- port: 8081
|
||||
mode: snapshot
|
34
tests/components/esp32_camera_web_server/test.esp32.yaml
Normal file
34
tests/components/esp32_camera_web_server/test.esp32.yaml
Normal file
|
@ -0,0 +1,34 @@
|
|||
esp32_camera:
|
||||
name: ESP32 Camera
|
||||
data_pins:
|
||||
- number: 17
|
||||
- number: 35
|
||||
- number: 34
|
||||
- number: 5
|
||||
- number: 39
|
||||
- number: 18
|
||||
- number: 36
|
||||
- number: 19
|
||||
vsync_pin: 22
|
||||
href_pin: 26
|
||||
pixel_clock_pin: 21
|
||||
external_clock:
|
||||
pin: 27
|
||||
frequency: 20MHz
|
||||
i2c_pins:
|
||||
sda: 25
|
||||
scl: 23
|
||||
reset_pin: 15
|
||||
power_down_pin: 1
|
||||
resolution: 640x480
|
||||
jpeg_quality: 10
|
||||
on_image:
|
||||
then:
|
||||
- lambda: |-
|
||||
ESP_LOGD("main", "image len=%d, data=%c", image.length, image.data[0]);
|
||||
|
||||
esp32_camera_web_server:
|
||||
- port: 8080
|
||||
mode: stream
|
||||
- port: 8081
|
||||
mode: snapshot
|
45
tests/components/esp32_can/test.esp32-c3-idf.yaml
Normal file
45
tests/components/esp32_can/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- canbus.send:
|
||||
# Extended ID explicit
|
||||
use_extended_id: true
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
- canbus.send:
|
||||
# Standard ID by default
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
|
||||
canbus:
|
||||
- platform: esp32_can
|
||||
id: esp32_internal_can
|
||||
rx_pin: 4
|
||||
tx_pin: 5
|
||||
can_id: 4
|
||||
bit_rate: 50kbps
|
||||
on_frame:
|
||||
- can_id: 500
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("canid 500", "%s", b.c_str() );
|
||||
- can_id: 0b00000000000000000000001000000
|
||||
can_id_mask: 0b11111000000000011111111000000
|
||||
use_extended_id: true
|
||||
then:
|
||||
- lambda: |-
|
||||
auto pdo_id = can_id >> 14;
|
||||
switch (pdo_id)
|
||||
{
|
||||
case 117:
|
||||
ESP_LOGD("canbus", "exhaust_fan_duty");
|
||||
break;
|
||||
case 118:
|
||||
ESP_LOGD("canbus", "supply_fan_duty");
|
||||
break;
|
||||
case 119:
|
||||
ESP_LOGD("canbus", "supply_fan_flow");
|
||||
break;
|
||||
// to be continued...
|
||||
}
|
45
tests/components/esp32_can/test.esp32-c3.yaml
Normal file
45
tests/components/esp32_can/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- canbus.send:
|
||||
# Extended ID explicit
|
||||
use_extended_id: true
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
- canbus.send:
|
||||
# Standard ID by default
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
|
||||
canbus:
|
||||
- platform: esp32_can
|
||||
id: esp32_internal_can
|
||||
rx_pin: 4
|
||||
tx_pin: 5
|
||||
can_id: 4
|
||||
bit_rate: 50kbps
|
||||
on_frame:
|
||||
- can_id: 500
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("canid 500", "%s", b.c_str() );
|
||||
- can_id: 0b00000000000000000000001000000
|
||||
can_id_mask: 0b11111000000000011111111000000
|
||||
use_extended_id: true
|
||||
then:
|
||||
- lambda: |-
|
||||
auto pdo_id = can_id >> 14;
|
||||
switch (pdo_id)
|
||||
{
|
||||
case 117:
|
||||
ESP_LOGD("canbus", "exhaust_fan_duty");
|
||||
break;
|
||||
case 118:
|
||||
ESP_LOGD("canbus", "supply_fan_duty");
|
||||
break;
|
||||
case 119:
|
||||
ESP_LOGD("canbus", "supply_fan_flow");
|
||||
break;
|
||||
// to be continued...
|
||||
}
|
45
tests/components/esp32_can/test.esp32-idf.yaml
Normal file
45
tests/components/esp32_can/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- canbus.send:
|
||||
# Extended ID explicit
|
||||
use_extended_id: true
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
- canbus.send:
|
||||
# Standard ID by default
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
|
||||
canbus:
|
||||
- platform: esp32_can
|
||||
id: esp32_internal_can
|
||||
rx_pin: 13
|
||||
tx_pin: 14
|
||||
can_id: 4
|
||||
bit_rate: 50kbps
|
||||
on_frame:
|
||||
- can_id: 500
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("canid 500", "%s", b.c_str() );
|
||||
- can_id: 0b00000000000000000000001000000
|
||||
can_id_mask: 0b11111000000000011111111000000
|
||||
use_extended_id: true
|
||||
then:
|
||||
- lambda: |-
|
||||
auto pdo_id = can_id >> 14;
|
||||
switch (pdo_id)
|
||||
{
|
||||
case 117:
|
||||
ESP_LOGD("canbus", "exhaust_fan_duty");
|
||||
break;
|
||||
case 118:
|
||||
ESP_LOGD("canbus", "supply_fan_duty");
|
||||
break;
|
||||
case 119:
|
||||
ESP_LOGD("canbus", "supply_fan_flow");
|
||||
break;
|
||||
// to be continued...
|
||||
}
|
45
tests/components/esp32_can/test.esp32.yaml
Normal file
45
tests/components/esp32_can/test.esp32.yaml
Normal file
|
@ -0,0 +1,45 @@
|
|||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- canbus.send:
|
||||
# Extended ID explicit
|
||||
use_extended_id: true
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
- canbus.send:
|
||||
# Standard ID by default
|
||||
can_id: 0x100
|
||||
data: [0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08]
|
||||
|
||||
canbus:
|
||||
- platform: esp32_can
|
||||
id: esp32_internal_can
|
||||
rx_pin: 13
|
||||
tx_pin: 14
|
||||
can_id: 4
|
||||
bit_rate: 50kbps
|
||||
on_frame:
|
||||
- can_id: 500
|
||||
then:
|
||||
- lambda: |-
|
||||
std::string b(x.begin(), x.end());
|
||||
ESP_LOGD("canid 500", "%s", b.c_str() );
|
||||
- can_id: 0b00000000000000000000001000000
|
||||
can_id_mask: 0b11111000000000011111111000000
|
||||
use_extended_id: true
|
||||
then:
|
||||
- lambda: |-
|
||||
auto pdo_id = can_id >> 14;
|
||||
switch (pdo_id)
|
||||
{
|
||||
case 117:
|
||||
ESP_LOGD("canbus", "exhaust_fan_duty");
|
||||
break;
|
||||
case 118:
|
||||
ESP_LOGD("canbus", "supply_fan_duty");
|
||||
break;
|
||||
case 119:
|
||||
ESP_LOGD("canbus", "supply_fan_flow");
|
||||
break;
|
||||
// to be continued...
|
||||
}
|
4
tests/components/esp32_dac/test.esp32-idf.yaml
Normal file
4
tests/components/esp32_dac/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
output:
|
||||
- platform: esp32_dac
|
||||
id: dac_output
|
||||
pin: 25
|
4
tests/components/esp32_dac/test.esp32.yaml
Normal file
4
tests/components/esp32_dac/test.esp32.yaml
Normal file
|
@ -0,0 +1,4 @@
|
|||
output:
|
||||
- platform: esp32_dac
|
||||
id: dac_output
|
||||
pin: 25
|
3
tests/components/esp32_hall/test.esp32-idf.yaml
Normal file
3
tests/components/esp32_hall/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: esp32_hall
|
||||
name: ESP32 Hall Sensor
|
3
tests/components/esp32_hall/test.esp32.yaml
Normal file
3
tests/components/esp32_hall/test.esp32.yaml
Normal file
|
@ -0,0 +1,3 @@
|
|||
sensor:
|
||||
- platform: esp32_hall
|
||||
name: ESP32 Hall Sensor
|
18
tests/components/esp32_improv/test.esp32-c3-idf.yaml
Normal file
18
tests/components/esp32_improv/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: 0
|
||||
id: io0_button
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: 2
|
||||
id: built_in_led
|
||||
|
||||
esp32_improv:
|
||||
authorizer: io0_button
|
||||
authorized_duration: 1min
|
||||
status_indicator: built_in_led
|
18
tests/components/esp32_improv/test.esp32-c3.yaml
Normal file
18
tests/components/esp32_improv/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: 0
|
||||
id: io0_button
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: 2
|
||||
id: built_in_led
|
||||
|
||||
esp32_improv:
|
||||
authorizer: io0_button
|
||||
authorized_duration: 1min
|
||||
status_indicator: built_in_led
|
18
tests/components/esp32_improv/test.esp32-idf.yaml
Normal file
18
tests/components/esp32_improv/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: 0
|
||||
id: io0_button
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: 2
|
||||
id: built_in_led
|
||||
|
||||
esp32_improv:
|
||||
authorizer: io0_button
|
||||
authorized_duration: 1min
|
||||
status_indicator: built_in_led
|
18
tests/components/esp32_improv/test.esp32.yaml
Normal file
18
tests/components/esp32_improv/test.esp32.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: 0
|
||||
id: io0_button
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
pin: 2
|
||||
id: built_in_led
|
||||
|
||||
esp32_improv:
|
||||
authorizer: io0_button
|
||||
authorized_duration: 1min
|
||||
status_indicator: built_in_led
|
18
tests/components/esp32_rmt_led_strip/test.esp32-c3-idf.yaml
Normal file
18
tests/components/esp32_rmt_led_strip/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 4
|
||||
num_leds: 60
|
||||
rmt_channel: 0
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 5
|
||||
num_leds: 60
|
||||
rmt_channel: 1
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
18
tests/components/esp32_rmt_led_strip/test.esp32-c3.yaml
Normal file
18
tests/components/esp32_rmt_led_strip/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 4
|
||||
num_leds: 60
|
||||
rmt_channel: 0
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 5
|
||||
num_leds: 60
|
||||
rmt_channel: 1
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
18
tests/components/esp32_rmt_led_strip/test.esp32-idf.yaml
Normal file
18
tests/components/esp32_rmt_led_strip/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 13
|
||||
num_leds: 60
|
||||
rmt_channel: 6
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 14
|
||||
num_leds: 60
|
||||
rmt_channel: 2
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
18
tests/components/esp32_rmt_led_strip/test.esp32.yaml
Normal file
18
tests/components/esp32_rmt_led_strip/test.esp32.yaml
Normal file
|
@ -0,0 +1,18 @@
|
|||
light:
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip
|
||||
pin: 13
|
||||
num_leds: 60
|
||||
rmt_channel: 6
|
||||
rgb_order: GRB
|
||||
chipset: ws2812
|
||||
- platform: esp32_rmt_led_strip
|
||||
id: led_strip2
|
||||
pin: 14
|
||||
num_leds: 60
|
||||
rmt_channel: 2
|
||||
rgb_order: RGB
|
||||
bit0_high: 100us
|
||||
bit0_low: 100us
|
||||
bit1_high: 100us
|
||||
bit1_low: 100us
|
16
tests/components/esp32_touch/test.esp32-idf.yaml
Normal file
16
tests/components/esp32_touch/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
esp32_touch:
|
||||
setup_mode: false
|
||||
iir_filter: 10ms
|
||||
sleep_duration: 27ms
|
||||
measurement_duration: 8ms
|
||||
low_voltage_reference: 0.5V
|
||||
high_voltage_reference: 2.7V
|
||||
voltage_attenuation: 1.5V
|
||||
|
||||
binary_sensor:
|
||||
- platform: esp32_touch
|
||||
name: ESP32 Touch Pad
|
||||
pin: 27
|
||||
threshold: 1000
|
||||
on_press:
|
||||
- logger.log: "I'm touched!"
|
16
tests/components/esp32_touch/test.esp32.yaml
Normal file
16
tests/components/esp32_touch/test.esp32.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
esp32_touch:
|
||||
setup_mode: false
|
||||
iir_filter: 10ms
|
||||
sleep_duration: 27ms
|
||||
measurement_duration: 8ms
|
||||
low_voltage_reference: 0.5V
|
||||
high_voltage_reference: 2.7V
|
||||
voltage_attenuation: 1.5V
|
||||
|
||||
binary_sensor:
|
||||
- platform: esp32_touch
|
||||
name: ESP32 Touch Pad
|
||||
pin: 27
|
||||
threshold: 1000
|
||||
on_press:
|
||||
- logger.log: "I'm touched!"
|
8
tests/components/esp8266_pwm/test.esp8266.yaml
Normal file
8
tests/components/esp8266_pwm/test.esp8266.yaml
Normal file
|
@ -0,0 +1,8 @@
|
|||
output:
|
||||
- platform: esp8266_pwm
|
||||
id: out
|
||||
pin: 4
|
||||
frequency: 50Hz
|
||||
- platform: esp8266_pwm
|
||||
id: out2
|
||||
pin: 5
|
12
tests/components/ethernet/test.esp32-idf.yaml
Normal file
12
tests/components/ethernet/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
ethernet:
|
||||
type: LAN8720
|
||||
mdc_pin: 23
|
||||
mdio_pin: 25
|
||||
clk_mode: GPIO0_IN
|
||||
phy_addr: 0
|
||||
power_pin: 26
|
||||
manual_ip:
|
||||
static_ip: 192.168.178.56
|
||||
gateway: 192.168.178.1
|
||||
subnet: 255.255.255.0
|
||||
domain: .local
|
12
tests/components/ethernet/test.esp32.yaml
Normal file
12
tests/components/ethernet/test.esp32.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
ethernet:
|
||||
type: LAN8720
|
||||
mdc_pin: 23
|
||||
mdio_pin: 25
|
||||
clk_mode: GPIO0_IN
|
||||
phy_addr: 0
|
||||
power_pin: 26
|
||||
manual_ip:
|
||||
static_ip: 192.168.178.56
|
||||
gateway: 192.168.178.1
|
||||
subnet: 255.255.255.0
|
||||
domain: .local
|
17
tests/components/ethernet_info/test.esp32-idf.yaml
Normal file
17
tests/components/ethernet_info/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
ethernet:
|
||||
type: LAN8720
|
||||
mdc_pin: 23
|
||||
mdio_pin: 25
|
||||
clk_mode: GPIO0_IN
|
||||
phy_addr: 0
|
||||
power_pin: 26
|
||||
manual_ip:
|
||||
static_ip: 192.168.178.56
|
||||
gateway: 192.168.178.1
|
||||
subnet: 255.255.255.0
|
||||
domain: .local
|
||||
|
||||
text_sensor:
|
||||
- platform: ethernet_info
|
||||
ip_address:
|
||||
name: IP Address
|
17
tests/components/ethernet_info/test.esp32.yaml
Normal file
17
tests/components/ethernet_info/test.esp32.yaml
Normal file
|
@ -0,0 +1,17 @@
|
|||
ethernet:
|
||||
type: LAN8720
|
||||
mdc_pin: 23
|
||||
mdio_pin: 25
|
||||
clk_mode: GPIO0_IN
|
||||
phy_addr: 0
|
||||
power_pin: 26
|
||||
manual_ip:
|
||||
static_ip: 192.168.178.56
|
||||
gateway: 192.168.178.1
|
||||
subnet: 255.255.255.0
|
||||
domain: .local
|
||||
|
||||
text_sensor:
|
||||
- platform: ethernet_info
|
||||
ip_address:
|
||||
name: IP Address
|
|
@ -0,0 +1,9 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
exposure_notifications:
|
||||
on_exposure_notification:
|
||||
then:
|
||||
- lambda: |
|
||||
ESP_LOGD("main", "Got notification:");
|
||||
ESP_LOGD("main", " RPI: %s", format_hex(x.rolling_proximity_identifier).c_str());
|
||||
ESP_LOGD("main", " RSSI: %d", x.rssi);
|
|
@ -0,0 +1,9 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
exposure_notifications:
|
||||
on_exposure_notification:
|
||||
then:
|
||||
- lambda: |
|
||||
ESP_LOGD("main", "Got notification:");
|
||||
ESP_LOGD("main", " RPI: %s", format_hex(x.rolling_proximity_identifier).c_str());
|
||||
ESP_LOGD("main", " RSSI: %d", x.rssi);
|
|
@ -0,0 +1,9 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
exposure_notifications:
|
||||
on_exposure_notification:
|
||||
then:
|
||||
- lambda: |
|
||||
ESP_LOGD("main", "Got notification:");
|
||||
ESP_LOGD("main", " RPI: %s", format_hex(x.rolling_proximity_identifier).c_str());
|
||||
ESP_LOGD("main", " RSSI: %d", x.rssi);
|
9
tests/components/exposure_notifications/test.esp32.yaml
Normal file
9
tests/components/exposure_notifications/test.esp32.yaml
Normal file
|
@ -0,0 +1,9 @@
|
|||
esp32_ble_tracker:
|
||||
|
||||
exposure_notifications:
|
||||
on_exposure_notification:
|
||||
then:
|
||||
- lambda: |
|
||||
ESP_LOGD("main", "Got notification:");
|
||||
ESP_LOGD("main", " RPI: %s", format_hex(x.rolling_proximity_identifier).c_str());
|
||||
ESP_LOGD("main", " RSSI: %d", x.rssi);
|
|
@ -0,0 +1,6 @@
|
|||
external_components:
|
||||
- source: github://esphome/esphome@dev
|
||||
refresh: 1d
|
||||
components: [bh1750]
|
||||
- source: ../../../esphome/components
|
||||
components: [sntp]
|
6
tests/components/external_components/test.esp32-c3.yaml
Normal file
6
tests/components/external_components/test.esp32-c3.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
external_components:
|
||||
- source: github://esphome/esphome@dev
|
||||
refresh: 1d
|
||||
components: [bh1750]
|
||||
- source: ../../../esphome/components
|
||||
components: [sntp]
|
6
tests/components/external_components/test.esp32-idf.yaml
Normal file
6
tests/components/external_components/test.esp32-idf.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
external_components:
|
||||
- source: github://esphome/esphome@dev
|
||||
refresh: 1d
|
||||
components: [bh1750]
|
||||
- source: ../../../esphome/components
|
||||
components: [sntp]
|
6
tests/components/external_components/test.esp32.yaml
Normal file
6
tests/components/external_components/test.esp32.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
external_components:
|
||||
- source: github://esphome/esphome@dev
|
||||
refresh: 1d
|
||||
components: [bh1750]
|
||||
- source: ../../../esphome/components
|
||||
components: [sntp]
|
6
tests/components/external_components/test.esp8266.yaml
Normal file
6
tests/components/external_components/test.esp8266.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
external_components:
|
||||
- source: github://esphome/esphome@dev
|
||||
refresh: 1d
|
||||
components: [bh1750]
|
||||
- source: ../../../esphome/components
|
||||
components: [sntp]
|
6
tests/components/external_components/test.rp2040.yaml
Normal file
6
tests/components/external_components/test.rp2040.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
external_components:
|
||||
- source: github://esphome/esphome@dev
|
||||
refresh: 1d
|
||||
components: [bh1750]
|
||||
- source: ../../../esphome/components
|
||||
components: [sntp]
|
10
tests/components/ezo/test.esp32-c3-idf.yaml
Normal file
10
tests/components/ezo/test.esp32-c3-idf.yaml
Normal file
|
@ -0,0 +1,10 @@
|
|||
i2c:
|
||||
- id: i2c_ezo
|
||||
scl: 5
|
||||
sda: 4
|
||||
|
||||
sensor:
|
||||
- platform: ezo
|
||||
id: ph_ezo
|
||||
address: 99
|
||||
unit_of_measurement: pH
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue