diff --git a/tests/components/dallas_temp/common.yaml b/tests/components/dallas_temp/common.yaml index fb51f4818e..6d865d8e93 100644 --- a/tests/components/dallas_temp/common.yaml +++ b/tests/components/dallas_temp/common.yaml @@ -1,6 +1,6 @@ one_wire: - platform: gpio - pin: 4 + pin: ${one_wire_pin} sensor: - platform: dallas_temp diff --git a/tests/components/dallas_temp/test.esp32-ard.yaml b/tests/components/dallas_temp/test.esp32-ard.yaml index 7c503b0ccb..89cec2b5c3 100644 --- a/tests/components/dallas_temp/test.esp32-ard.yaml +++ b/tests/components/dallas_temp/test.esp32-ard.yaml @@ -1,3 +1,6 @@ +substitutions: + one_wire_pin: "4" + packages: i2c: !include ../../test_build_components/common/i2c/esp32-ard.yaml diff --git a/tests/components/dallas_temp/test.esp32-c3-ard.yaml b/tests/components/dallas_temp/test.esp32-c3-ard.yaml index 02a6d29e57..588399b2df 100644 --- a/tests/components/dallas_temp/test.esp32-c3-ard.yaml +++ b/tests/components/dallas_temp/test.esp32-c3-ard.yaml @@ -1,3 +1,6 @@ +substitutions: + one_wire_pin: "4" + packages: i2c: !include ../../test_build_components/common/i2c/esp32-c3-ard.yaml diff --git a/tests/components/dallas_temp/test.esp32-c3-idf.yaml b/tests/components/dallas_temp/test.esp32-c3-idf.yaml index 9990d96d29..49bf988eb4 100644 --- a/tests/components/dallas_temp/test.esp32-c3-idf.yaml +++ b/tests/components/dallas_temp/test.esp32-c3-idf.yaml @@ -1,3 +1,6 @@ +substitutions: + one_wire_pin: "4" + packages: i2c: !include ../../test_build_components/common/i2c/esp32-c3-idf.yaml diff --git a/tests/components/dallas_temp/test.esp32-idf.yaml b/tests/components/dallas_temp/test.esp32-idf.yaml index b47e39c389..7f9a7d4c2c 100644 --- a/tests/components/dallas_temp/test.esp32-idf.yaml +++ b/tests/components/dallas_temp/test.esp32-idf.yaml @@ -1,3 +1,6 @@ +substitutions: + one_wire_pin: "4" + packages: i2c: !include ../../test_build_components/common/i2c/esp32-idf.yaml diff --git a/tests/components/dallas_temp/test.esp8266-ard.yaml b/tests/components/dallas_temp/test.esp8266-ard.yaml index 4a98b9388a..f58b3e0ff3 100644 --- a/tests/components/dallas_temp/test.esp8266-ard.yaml +++ b/tests/components/dallas_temp/test.esp8266-ard.yaml @@ -1,3 +1,6 @@ +substitutions: + one_wire_pin: "13" + packages: i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml diff --git a/tests/components/dallas_temp/test.rp2040-ard.yaml b/tests/components/dallas_temp/test.rp2040-ard.yaml index 319a7c71a6..d86645aa64 100644 --- a/tests/components/dallas_temp/test.rp2040-ard.yaml +++ b/tests/components/dallas_temp/test.rp2040-ard.yaml @@ -1,3 +1,6 @@ +substitutions: + one_wire_pin: "10" + packages: i2c: !include ../../test_build_components/common/i2c/rp2040-ard.yaml diff --git a/tests/components/display/test.esp32-ard.yaml b/tests/components/display/test.esp32-ard.yaml index dade44d145..56e0fbe99d 100644 --- a/tests/components/display/test.esp32-ard.yaml +++ b/tests/components/display/test.esp32-ard.yaml @@ -1 +1,4 @@ +packages: + spi: !include ../../test_build_components/common/spi/esp32-ard.yaml + <<: !include common.yaml