update init.py to reflect correction back to without underscore

This commit is contained in:
KoenBreeman 2024-08-16 12:06:49 +02:00
parent 7a9a8e3eb6
commit 4671f0db90
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -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"