prepare for when UART PR#4465 is merged.
This commit is contained in:
5
tests/.gitignore
vendored
Normal file
5
tests/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Gitignore settings for ESPHome
|
||||
# This is an example and may include too much for your use-case.
|
||||
# You can modify this file to suit your needs.
|
||||
/.esphome/
|
||||
/secrets.yaml
|
||||
41
tests/test.esp32_ard.uart.yaml
Normal file
41
tests/test.esp32_ard.uart.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
esphome:
|
||||
name: "esp32-ard-uart"
|
||||
|
||||
on_boot:
|
||||
then:
|
||||
# read time from external source (connected via I2C)
|
||||
- ds1307.read_time
|
||||
|
||||
external_components:
|
||||
# https://github.com/esphome/esphome/pull/4465
|
||||
- source: github://pr#4465
|
||||
components: [uart]
|
||||
- source:
|
||||
type: local
|
||||
path: ../components
|
||||
components: [truma_inetbox]
|
||||
|
||||
esp32:
|
||||
board: esp32dev
|
||||
framework:
|
||||
type: arduino
|
||||
|
||||
i2c:
|
||||
sda: 14
|
||||
scl: 27
|
||||
scan: false
|
||||
id: i2c_bus_a
|
||||
|
||||
time:
|
||||
- platform: ds1307
|
||||
update_interval: never
|
||||
id: esptime
|
||||
|
||||
uart: !include test.common.uart.yaml
|
||||
truma_inetbox: !include test.common.truma_inetbox.yaml
|
||||
binary_sensor: !include test.common.binary_sensor.yaml
|
||||
button: !include test.common.button.yaml
|
||||
climate: !include test.common.climate.yaml
|
||||
number: !include test.common.number.yaml
|
||||
sensor: !include test.common.sensor.yaml
|
||||
switch: !include test.common.switch.yaml
|
||||
41
tests/test.esp32_idf.uart.yaml
Normal file
41
tests/test.esp32_idf.uart.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
esphome:
|
||||
name: "esp32-idf-uart"
|
||||
|
||||
on_boot:
|
||||
then:
|
||||
# read time from external source (connected via I2C)
|
||||
- ds1307.read_time
|
||||
|
||||
external_components:
|
||||
# https://github.com/esphome/esphome/pull/4465
|
||||
- source: github://pr#4465
|
||||
components: [uart]
|
||||
- source:
|
||||
type: local
|
||||
path: ../components
|
||||
components: [truma_inetbox]
|
||||
|
||||
esp32:
|
||||
board: esp32dev
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
i2c:
|
||||
sda: 14
|
||||
scl: 27
|
||||
scan: false
|
||||
id: i2c_bus_a
|
||||
|
||||
time:
|
||||
- platform: ds1307
|
||||
update_interval: never
|
||||
id: esptime
|
||||
|
||||
uart: !include test.common.uart.yaml
|
||||
truma_inetbox: !include test.common.truma_inetbox.yaml
|
||||
binary_sensor: !include test.common.binary_sensor.yaml
|
||||
button: !include test.common.button.yaml
|
||||
climate: !include test.common.climate.yaml
|
||||
number: !include test.common.number.yaml
|
||||
sensor: !include test.common.sensor.yaml
|
||||
switch: !include test.common.switch.yaml
|
||||
41
tests/test.rp2040.uart.yaml
Normal file
41
tests/test.rp2040.uart.yaml
Normal file
@@ -0,0 +1,41 @@
|
||||
esphome:
|
||||
name: "rp2040-uart"
|
||||
|
||||
on_boot:
|
||||
then:
|
||||
# read time from external source (connected via I2C)
|
||||
- ds1307.read_time
|
||||
|
||||
external_components:
|
||||
# https://github.com/esphome/esphome/pull/4465
|
||||
- source: github://pr#4465
|
||||
components: [uart]
|
||||
- source:
|
||||
type: local
|
||||
path: ../components
|
||||
components: [truma_inetbox]
|
||||
|
||||
rp2040:
|
||||
board: rpipicow
|
||||
framework:
|
||||
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
|
||||
|
||||
i2c:
|
||||
sda: 14
|
||||
scl: 27
|
||||
scan: false
|
||||
id: i2c_bus_a
|
||||
|
||||
time:
|
||||
- platform: ds1307
|
||||
update_interval: never
|
||||
id: esptime
|
||||
|
||||
uart: !include test.common.uart.yaml
|
||||
truma_inetbox: !include test.common.truma_inetbox.yaml
|
||||
binary_sensor: !include test.common.binary_sensor.yaml
|
||||
button: !include test.common.button.yaml
|
||||
climate: !include test.common.climate.yaml
|
||||
number: !include test.common.number.yaml
|
||||
sensor: !include test.common.sensor.yaml
|
||||
switch: !include test.common.switch.yaml
|
||||
Reference in New Issue
Block a user