From 22a54050a9f4d0a6bb9e46f27c6c503b9fe68916 Mon Sep 17 00:00:00 2001 From: KoenBreeman <121864590+KoenBreeman@users.noreply.github.com> Date: Fri, 16 Aug 2024 10:57:23 +0200 Subject: [PATCH] Revert "corrected errors" This reverts commit 8c632b4848e1636d228a80266c2a58ee1e3df565. --- esphome/components/m5stack_4relay/m5stack_4relay.h | 1 + tests/components/m5stack_4relay/test.esp32-ard.yaml | 4 ++-- tests/components/m5stack_4relay/test.esp32-c3-ard.yaml | 4 ++-- tests/components/m5stack_4relay/test.esp32-c3-idf.yaml | 4 ++-- tests/components/m5stack_4relay/test.esp32-idf.yaml | 4 ++-- tests/components/m5stack_4relay/test.esp8266-ard.yaml | 4 ++-- tests/components/m5stack_4relay/test.rp2040-ard.yaml | 4 ++-- tests/components/tca9548a/test.esp32-ard.yaml | 4 ++-- 8 files changed, 15 insertions(+), 14 deletions(-) diff --git a/esphome/components/m5stack_4relay/m5stack_4relay.h b/esphome/components/m5stack_4relay/m5stack_4relay.h index b074d8bf78..3cb6d02d65 100644 --- a/esphome/components/m5stack_4relay/m5stack_4relay.h +++ b/esphome/components/m5stack_4relay/m5stack_4relay.h @@ -9,6 +9,7 @@ namespace m5stack_4relay { static constexpr uint8_t UNIT_4RELAY_REG = 0X10; static constexpr uint8_t UNIT_4RELAY_RELAY_REG = 0X11; + class M5Stack_4Relay : public Component, public i2c::I2CDevice { public: void set_switch_mode(bool mode); diff --git a/tests/components/m5stack_4relay/test.esp32-ard.yaml b/tests/components/m5stack_4relay/test.esp32-ard.yaml index a9de1c622f..6c2623123e 100644 --- a/tests/components/m5stack_4relay/test.esp32-ard.yaml +++ b/tests/components/m5stack_4relay/test.esp32-ard.yaml @@ -1,5 +1,5 @@ substitutions: - scl_pin: "16" - sda_pin: "17" + scl_pin: 16 + sda_pin: 17 <<: !include common.yaml diff --git a/tests/components/m5stack_4relay/test.esp32-c3-ard.yaml b/tests/components/m5stack_4relay/test.esp32-c3-ard.yaml index 738a01ddbc..b7c4a7c87b 100644 --- a/tests/components/m5stack_4relay/test.esp32-c3-ard.yaml +++ b/tests/components/m5stack_4relay/test.esp32-c3-ard.yaml @@ -1,5 +1,5 @@ substitutions: - scl_pin: "5" - sda_pin: "4" + scl_pin: 5 + sda_pin: 4 <<: !include common.yaml diff --git a/tests/components/m5stack_4relay/test.esp32-c3-idf.yaml b/tests/components/m5stack_4relay/test.esp32-c3-idf.yaml index 738a01ddbc..b7c4a7c87b 100644 --- a/tests/components/m5stack_4relay/test.esp32-c3-idf.yaml +++ b/tests/components/m5stack_4relay/test.esp32-c3-idf.yaml @@ -1,5 +1,5 @@ substitutions: - scl_pin: "5" - sda_pin: "4" + scl_pin: 5 + sda_pin: 4 <<: !include common.yaml diff --git a/tests/components/m5stack_4relay/test.esp32-idf.yaml b/tests/components/m5stack_4relay/test.esp32-idf.yaml index a9de1c622f..6c2623123e 100644 --- a/tests/components/m5stack_4relay/test.esp32-idf.yaml +++ b/tests/components/m5stack_4relay/test.esp32-idf.yaml @@ -1,5 +1,5 @@ substitutions: - scl_pin: "16" - sda_pin: "17" + scl_pin: 16 + sda_pin: 17 <<: !include common.yaml diff --git a/tests/components/m5stack_4relay/test.esp8266-ard.yaml b/tests/components/m5stack_4relay/test.esp8266-ard.yaml index 738a01ddbc..b7c4a7c87b 100644 --- a/tests/components/m5stack_4relay/test.esp8266-ard.yaml +++ b/tests/components/m5stack_4relay/test.esp8266-ard.yaml @@ -1,5 +1,5 @@ substitutions: - scl_pin: "5" - sda_pin: "4" + scl_pin: 5 + sda_pin: 4 <<: !include common.yaml diff --git a/tests/components/m5stack_4relay/test.rp2040-ard.yaml b/tests/components/m5stack_4relay/test.rp2040-ard.yaml index 738a01ddbc..b7c4a7c87b 100644 --- a/tests/components/m5stack_4relay/test.rp2040-ard.yaml +++ b/tests/components/m5stack_4relay/test.rp2040-ard.yaml @@ -1,5 +1,5 @@ substitutions: - scl_pin: "5" - sda_pin: "4" + scl_pin: 5 + sda_pin: 4 <<: !include common.yaml diff --git a/tests/components/tca9548a/test.esp32-ard.yaml b/tests/components/tca9548a/test.esp32-ard.yaml index fd40d339a5..7edb83c821 100644 --- a/tests/components/tca9548a/test.esp32-ard.yaml +++ b/tests/components/tca9548a/test.esp32-ard.yaml @@ -1,7 +1,7 @@ i2c: - id: i2c_tca9548a - scl: "16" - sda: "17" + scl: 16 + sda: 17 tca9548a: - id: multiplex0