fix
This commit is contained in:
parent
fee9d3d3ab
commit
7d897ae764
@ -30,7 +30,7 @@ CONFIG_SCHEMA = cv.Schema({
|
|||||||
|
|
||||||
async def to_code(config):
|
async def to_code(config):
|
||||||
var = cg.new_Pvariable(config[CONF_ID])
|
var = cg.new_Pvariable(config[CONF_ID])
|
||||||
# await cg.register_component(var, config)
|
await cg.register_component(var, config)
|
||||||
|
|
||||||
cg.add(var.set_room(config[CONF_ROOM_KEY]))
|
cg.add(var.set_room(config[CONF_ROOM_KEY]))
|
||||||
# cg.add(var.set_base_topic(config[CONF_BASE_TOPIC_KEY]))
|
# cg.add(var.set_base_topic(config[CONF_BASE_TOPIC_KEY]))
|
||||||
|
Loading…
Reference in New Issue
Block a user