mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
GDK101 support (#4703)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
28
tests/components/gdk101/common.yaml
Normal file
28
tests/components/gdk101/common.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
i2c:
|
||||
id: i2c_bus
|
||||
sda: ${i2c_sda}
|
||||
scl: ${i2c_scl}
|
||||
|
||||
gdk101:
|
||||
id: my_gdk101
|
||||
i2c_id: i2c_bus
|
||||
|
||||
sensor:
|
||||
- platform: gdk101
|
||||
gdk101_id: my_gdk101
|
||||
radiation_dose_per_1m:
|
||||
name: Radiation Dose @ 1 min
|
||||
radiation_dose_per_10m:
|
||||
name: Radiation Dose @ 10 min
|
||||
status:
|
||||
name: Status
|
||||
version:
|
||||
name: FW Version
|
||||
measurement_duration:
|
||||
name: Measuring Time
|
||||
|
||||
binary_sensor:
|
||||
- platform: gdk101
|
||||
gdk101_id: my_gdk101
|
||||
vibrations:
|
||||
name: Vibrations
|
5
tests/components/gdk101/test.esp32-idf.yaml
Normal file
5
tests/components/gdk101/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
i2c_scl: GPIO16
|
||||
i2c_sda: GPIO17
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/gdk101/test.esp32.yaml
Normal file
5
tests/components/gdk101/test.esp32.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
i2c_scl: GPIO16
|
||||
i2c_sda: GPIO17
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/gdk101/test.esp8266.yaml
Normal file
5
tests/components/gdk101/test.esp8266.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
i2c_scl: GPIO5
|
||||
i2c_sda: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
5
tests/components/gdk101/test.rp2040.yaml
Normal file
5
tests/components/gdk101/test.rp2040.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
i2c_scl: GPIO5
|
||||
i2c_sda: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
Reference in New Issue
Block a user