mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 12:37:45 +01:00
update init.py to reflect correction back to without underscore
This commit is contained in:
parent
7a9a8e3eb6
commit
4671f0db90
@ -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(
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user