mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
Merge branch 'esphome:dev' into gsm
This commit is contained in:
12
tests/components/apds9306/common.yaml
Normal file
12
tests/components/apds9306/common.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
i2c:
|
||||
- id: i2c_apds9306
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
sensor:
|
||||
- platform: apds9306
|
||||
name: "APDS9306 Light Level"
|
||||
gain: 3
|
||||
bit_width: 16
|
||||
measurement_rate: 2000ms
|
||||
update_interval: 60s
|
||||
5
tests/components/apds9306/test.esp32-ard.yaml
Normal file
5
tests/components/apds9306/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO22
|
||||
sda_pin: GPIO21
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/apds9306/test.esp32-c3-ard.yaml
Normal file
5
tests/components/apds9306/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/apds9306/test.esp32-c3-idf.yaml
Normal file
5
tests/components/apds9306/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/apds9306/test.esp32-idf.yaml
Normal file
5
tests/components/apds9306/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO22
|
||||
sda_pin: GPIO21
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/apds9306/test.esp8266-ard.yaml
Normal file
5
tests/components/apds9306/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/apds9306/test.rp2040-ard.yaml
Normal file
5
tests/components/apds9306/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
@@ -3,6 +3,13 @@ remote_transmitter:
|
||||
carrier_duty_percent: 50%
|
||||
|
||||
climate:
|
||||
- platform: heatpumpir
|
||||
protocol: mitsubishi_heavy_zm
|
||||
horizontal_default: left
|
||||
vertical_default: up
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
||||
- platform: heatpumpir
|
||||
protocol: daikin
|
||||
horizontal_default: mleft
|
||||
|
||||
0
tests/components/lvgl/common.yaml
Normal file
0
tests/components/lvgl/common.yaml
Normal file
24
tests/components/lvgl/lvgl-package.yaml
Normal file
24
tests/components/lvgl/lvgl-package.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
color:
|
||||
- id: light_blue
|
||||
hex: "3340FF"
|
||||
|
||||
lvgl:
|
||||
bg_color: light_blue
|
||||
widgets:
|
||||
- label:
|
||||
text: Hello world
|
||||
text_color: 0xFF8000
|
||||
align: center
|
||||
text_font: montserrat_40
|
||||
border_post: true
|
||||
|
||||
- label:
|
||||
text: "Hello shiny day"
|
||||
text_color: 0xFFFFFF
|
||||
align: bottom_mid
|
||||
text_font: space16
|
||||
|
||||
font:
|
||||
- file: "gfonts://Roboto"
|
||||
id: space16
|
||||
bpp: 4
|
||||
30
tests/components/lvgl/test.esp32-ard.yaml
Normal file
30
tests/components/lvgl/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
spi:
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
|
||||
i2c:
|
||||
sda: GPIO18
|
||||
scl: GPIO19
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
model: st7789v
|
||||
id: tft_display
|
||||
dimensions:
|
||||
width: 240
|
||||
height: 320
|
||||
transform:
|
||||
swap_xy: false
|
||||
mirror_x: true
|
||||
mirror_y: true
|
||||
data_rate: 80MHz
|
||||
cs_pin: GPIO22
|
||||
dc_pin: GPIO21
|
||||
auto_clear_enabled: false
|
||||
invert_colors: false
|
||||
update_interval: never
|
||||
|
||||
packages:
|
||||
lvgl: !include lvgl-package.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
52
tests/components/lvgl/test.esp32-idf.yaml
Normal file
52
tests/components/lvgl/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,52 @@
|
||||
spi:
|
||||
clk_pin: 14
|
||||
mosi_pin: 13
|
||||
|
||||
i2c:
|
||||
sda: GPIO18
|
||||
scl: GPIO19
|
||||
|
||||
display:
|
||||
- platform: ili9xxx
|
||||
model: st7789v
|
||||
id: second_display
|
||||
dimensions:
|
||||
width: 240
|
||||
height: 320
|
||||
transform:
|
||||
swap_xy: false
|
||||
mirror_x: true
|
||||
mirror_y: true
|
||||
data_rate: 80MHz
|
||||
cs_pin: GPIO20
|
||||
dc_pin: GPIO15
|
||||
auto_clear_enabled: false
|
||||
invert_colors: false
|
||||
update_interval: never
|
||||
|
||||
- platform: ili9xxx
|
||||
model: st7789v
|
||||
id: tft_display
|
||||
dimensions:
|
||||
width: 240
|
||||
height: 320
|
||||
transform:
|
||||
swap_xy: false
|
||||
mirror_x: true
|
||||
mirror_y: true
|
||||
data_rate: 80MHz
|
||||
cs_pin: GPIO22
|
||||
dc_pin: GPIO21
|
||||
auto_clear_enabled: false
|
||||
invert_colors: false
|
||||
update_interval: never
|
||||
|
||||
packages:
|
||||
lvgl: !include lvgl-package.yaml
|
||||
|
||||
lvgl:
|
||||
displays:
|
||||
- tft_display
|
||||
- second_display
|
||||
|
||||
<<: !include common.yaml
|
||||
30
tests/components/m5stack_8angle/common.yaml
Normal file
30
tests/components/m5stack_8angle/common.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
i2c:
|
||||
sda: 0
|
||||
scl: 1
|
||||
id: bus_external
|
||||
|
||||
m5stack_8angle:
|
||||
i2c_id: bus_external
|
||||
id: m5stack_8angle_base
|
||||
|
||||
light:
|
||||
- platform: m5stack_8angle
|
||||
m5stack_8angle_id: m5stack_8angle_base
|
||||
id: m8_angle_leds
|
||||
name: Lights
|
||||
effects:
|
||||
- addressable_scan:
|
||||
|
||||
sensor:
|
||||
- platform: m5stack_8angle
|
||||
m5stack_8angle_id: m5stack_8angle_base
|
||||
channel: 1
|
||||
name: Knob 1
|
||||
- platform: m5stack_8angle
|
||||
m5stack_8angle_id: m5stack_8angle_base
|
||||
channel: 2
|
||||
name: Knob 2
|
||||
binary_sensor:
|
||||
- platform: m5stack_8angle
|
||||
m5stack_8angle_id: m5stack_8angle_base
|
||||
name: Switch
|
||||
1
tests/components/m5stack_8angle/test.esp32-ard.yaml
Normal file
1
tests/components/m5stack_8angle/test.esp32-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/m5stack_8angle/test.esp32-c3-ard.yaml
Normal file
1
tests/components/m5stack_8angle/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/m5stack_8angle/test.esp32-c3-idf.yaml
Normal file
1
tests/components/m5stack_8angle/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/m5stack_8angle/test.esp32-idf.yaml
Normal file
1
tests/components/m5stack_8angle/test.esp32-idf.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/m5stack_8angle/test.esp8266-ard.yaml
Normal file
1
tests/components/m5stack_8angle/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
1
tests/components/m5stack_8angle/test.rp2040-ard.yaml
Normal file
1
tests/components/m5stack_8angle/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common.yaml
|
||||
@@ -2,10 +2,6 @@ wifi:
|
||||
ssid: MySSID
|
||||
password: password1
|
||||
|
||||
web_server:
|
||||
port: 8080
|
||||
version: 2
|
||||
|
||||
binary_sensor:
|
||||
cover:
|
||||
fan:
|
||||
|
||||
5
tests/components/web_server/common_v1.yaml
Normal file
5
tests/components/web_server/common_v1.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
<<: !include common.yaml
|
||||
|
||||
web_server:
|
||||
port: 8080
|
||||
version: 1
|
||||
5
tests/components/web_server/common_v2.yaml
Normal file
5
tests/components/web_server/common_v2.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
<<: !include common.yaml
|
||||
|
||||
web_server:
|
||||
port: 8080
|
||||
version: 2
|
||||
@@ -1 +1 @@
|
||||
<<: !include common.yaml
|
||||
<<: !include common_v2.yaml
|
||||
|
||||
@@ -1 +1 @@
|
||||
<<: !include common.yaml
|
||||
<<: !include common_v2.yaml
|
||||
|
||||
@@ -1 +1 @@
|
||||
<<: !include common.yaml
|
||||
<<: !include common_v2.yaml
|
||||
|
||||
@@ -1 +1 @@
|
||||
<<: !include common.yaml
|
||||
<<: !include common_v2.yaml
|
||||
|
||||
@@ -1 +1 @@
|
||||
<<: !include common.yaml
|
||||
<<: !include common_v2.yaml
|
||||
|
||||
1
tests/components/web_server/test_v1.esp32-ard.yaml
Normal file
1
tests/components/web_server/test_v1.esp32-ard.yaml
Normal file
@@ -0,0 +1 @@
|
||||
<<: !include common_v1.yaml
|
||||
Reference in New Issue
Block a user