This commit is contained in:
Maxim Slipenko 2023-12-10 12:21:54 +03:00
parent fee9d3d3ab
commit 7d897ae764

View File

@ -30,7 +30,7 @@ CONFIG_SCHEMA = cv.Schema({
async def to_code(config):
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_base_topic(config[CONF_BASE_TOPIC_KEY]))