mirror of
https://github.com/esphome/esphome.git
synced 2025-04-05 18:30:28 +01:00
add tests
This commit is contained in:
parent
42846032d0
commit
0ff7710c6a
14
tests/components/gpio/test.nrf52-adafruit.yaml
Normal file
14
tests/components/gpio/test.nrf52-adafruit.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
binary_sensor:
|
||||||
|
- platform: gpio
|
||||||
|
pin: 2
|
||||||
|
id: gpio_binary_sensor
|
||||||
|
|
||||||
|
output:
|
||||||
|
- platform: gpio
|
||||||
|
pin: 3
|
||||||
|
id: gpio_output
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
pin: 4
|
||||||
|
id: gpio_switch
|
@ -0,0 +1,15 @@
|
|||||||
|
esphome:
|
||||||
|
name: componenttestnrf52
|
||||||
|
friendly_name: $component_name
|
||||||
|
|
||||||
|
nrf52:
|
||||||
|
board: adafruit_itsybitsy_nrf52840
|
||||||
|
|
||||||
|
logger:
|
||||||
|
level: VERY_VERBOSE
|
||||||
|
|
||||||
|
packages:
|
||||||
|
component_under_test: !include
|
||||||
|
file: $component_test_file
|
||||||
|
vars:
|
||||||
|
component_test_file: $component_test_file
|
Loading…
x
Reference in New Issue
Block a user