From d9bd32b428da457eba1c6ddd5cc168e9dee65c37 Mon Sep 17 00:00:00 2001 From: Iron Man Date: Tue, 23 Apr 2024 18:57:47 +0200 Subject: [PATCH] Create test.esp8266.yaml --- tests/components/ds248x/test.esp8266.yaml | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/components/ds248x/test.esp8266.yaml diff --git a/tests/components/ds248x/test.esp8266.yaml b/tests/components/ds248x/test.esp8266.yaml new file mode 100644 index 0000000000..3609ecfb09 --- /dev/null +++ b/tests/components/ds248x/test.esp8266.yaml @@ -0,0 +1,27 @@ +i2c: + sda: GPIO13 + scl: GPIO16 + id: bus_a + frequency: 400kHz + +ds248x: + i2c_id: bus_a + type: ds2482-800 + address: 0x1f + active_pullup: true + strong_pullup: false + bus_sleep: false + update_interval: 10s + +sensor: + + - platform: ds248x + address: 0x80000002a5fea828 + channel: 0 + name: "Temp-01" + resolution: 12 + - platform: ds248x + address: 0xf10000051c169828 + channel: 1 + name: "Temp-02" + resolution: 12