From 4671f0db90702f6e60f98d424ae7ba30821d56a8 Mon Sep 17 00:00:00 2001 From: KoenBreeman <121864590+KoenBreeman@users.noreply.github.com> Date: Fri, 16 Aug 2024 12:06:49 +0200 Subject: [PATCH] update init.py to reflect correction back to without underscore --- esphome/components/m5stack_4relay/__init__.py | 2 +- esphome/components/m5stack_4relay/switch/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/m5stack_4relay/__init__.py b/esphome/components/m5stack_4relay/__init__.py index 4e712570f3..c0b9cc1e47 100644 --- a/esphome/components/m5stack_4relay/__init__.py +++ b/esphome/components/m5stack_4relay/__init__.py @@ -11,7 +11,7 @@ MULTI_CONF = True CONF_M5STACK_4RELAY_ID = "m5stack_4relay_id" m5stack_4relay_ns = cg.esphome_ns.namespace("m5stack_4relay") -M5Stack_4Relay = m5stack_4relay_ns.class_("M5Stack_4Relay", cg.Component, i2c.I2CDevice) +M5Stack_4Relay = m5stack_4relay_ns.class_("M5Stack4Relay", cg.Component, i2c.I2CDevice) CONFIG_SCHEMA = ( cv.Schema( diff --git a/esphome/components/m5stack_4relay/switch/__init__.py b/esphome/components/m5stack_4relay/switch/__init__.py index 209ef44bc2..7d841ffa97 100644 --- a/esphome/components/m5stack_4relay/switch/__init__.py +++ b/esphome/components/m5stack_4relay/switch/__init__.py @@ -8,7 +8,7 @@ from .. import m5stack_4relay_ns, M5Stack_4Relay, CONF_M5STACK_4RELAY_ID DEPENDENCIES = ["m5stack_4relay"] M5StackSwitch = m5stack_4relay_ns.class_( - "M5Stack_4RelaySwitch", cg.Component, i2c.I2CDevice, switch.Switch + "M5Stack4RelaySwitch", cg.Component, i2c.I2CDevice, switch.Switch ) CONF_INTERLOCK_WAIT_TIME = "interlock_wait_time"