mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 11:07:33 +00:00
[xdb401] XDB401 Pressure Sensor (#15108)
Co-authored-by: Ricky Tsai <ricky@rtnztech.com> Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
10
tests/components/xdb401/common.yaml
Normal file
10
tests/components/xdb401/common.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
sensor:
|
||||
- platform: xdb401
|
||||
update_interval: 1s
|
||||
i2c_id: i2c_bus
|
||||
|
||||
temperature:
|
||||
name: water temperature
|
||||
|
||||
pressure:
|
||||
name: water pressure
|
||||
4
tests/components/xdb401/test.esp32-idf.yaml
Normal file
4
tests/components/xdb401/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
4
tests/components/xdb401/test.esp8266-ard.yaml
Normal file
4
tests/components/xdb401/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
Reference in New Issue
Block a user