mirror of
https://github.com/esphome/esphome.git
synced 2026-09-23 21:14:03 +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:
co-authored by
Ricky Tsai
pre-commit-ci-lite[bot]
Jonathan Swoboda
Copilot
parent
7533835e04
commit
eb6d6eac7d
@@ -0,0 +1,10 @@
|
||||
sensor:
|
||||
- platform: xdb401
|
||||
update_interval: 1s
|
||||
i2c_id: i2c_bus
|
||||
|
||||
temperature:
|
||||
name: water temperature
|
||||
|
||||
pressure:
|
||||
name: water pressure
|
||||
@@ -0,0 +1,4 @@
|
||||
packages:
|
||||
i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml
|
||||
|
||||
<<: !include common.yaml
|
||||
@@ -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