mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
[ds2484] New component (#9147)
This commit is contained in:
11
tests/components/ds2484/common.yaml
Normal file
11
tests/components/ds2484/common.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
i2c:
|
||||
- id: i2c_ds2484
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
one_wire:
|
||||
platform: ds2484
|
||||
i2c_id: i2c_ds2484
|
||||
address: 0x18
|
||||
active_pullup: true
|
||||
strong_pullup: false
|
||||
5
tests/components/ds2484/test.esp32-ard.yaml
Normal file
5
tests/components/ds2484/test.esp32-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/ds2484/test.esp32-c3-ard.yaml
Normal file
5
tests/components/ds2484/test.esp32-c3-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/ds2484/test.esp32-c3-idf.yaml
Normal file
5
tests/components/ds2484/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/ds2484/test.esp32-idf.yaml
Normal file
5
tests/components/ds2484/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO16
|
||||
sda_pin: GPIO17
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/ds2484/test.esp8266-ard.yaml
Normal file
5
tests/components/ds2484/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
5
tests/components/ds2484/test.rp2040-ard.yaml
Normal file
5
tests/components/ds2484/test.rp2040-ard.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
substitutions:
|
||||
scl_pin: GPIO5
|
||||
sda_pin: GPIO4
|
||||
|
||||
<<: !include common.yaml
|
||||
Reference in New Issue
Block a user