Add WTS01 temperature sensor component (#8539)
Co-authored-by: Antoine Lépée <alepee@MacBook-Pro-de-Antoine.local> Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
This commit is contained in:
7
tests/components/wts01/common.yaml
Normal file
7
tests/components/wts01/common.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
uart:
|
||||
rx_pin: ${rx_pin}
|
||||
baud_rate: 9600
|
||||
|
||||
sensor:
|
||||
- platform: wts01
|
||||
id: wts01_sensor
|
||||
5
tests/components/wts01/test.esp32-ard.yaml
Normal file
5
tests/components/wts01/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO16
|
||||
rx_pin: GPIO17
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/wts01/test.esp32-c3-ard.yaml
Normal file
5
tests/components/wts01/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO6
|
||||
rx_pin: GPIO7
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/wts01/test.esp32-c3-idf.yaml
Normal file
5
tests/components/wts01/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO6
|
||||
rx_pin: GPIO7
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/wts01/test.esp32-idf.yaml
Normal file
5
tests/components/wts01/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO16
|
||||
rx_pin: GPIO17
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/wts01/test.esp8266-ard.yaml
Normal file
5
tests/components/wts01/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO1
|
||||
rx_pin: GPIO3
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/wts01/test.rp2040-ard.yaml
Normal file
5
tests/components/wts01/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
tx_pin: GPIO0
|
||||
rx_pin: GPIO1
|
||||
|
||||
<<: !include common.yaml
|
||||
Reference in New Issue
Block a user