Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Jun 7, 2024
1 parent 273d839 commit 766d151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/tcs_intercom/binary_sensor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async def to_code(config):
var = cg.new_Pvariable(config[CONF_ID])
await binary_sensor.register_binary_sensor(var, config)

command_template = await cg.templatable(config[CONF_COMMAND], [(cg.uint32_t, "x")], cg.uint32_t)
command_template = await cg.templatable(config[CONF_COMMAND], [(cg.uint32, "x")], cg.uint32)
cg.add(var.set_command_template(command_template))

cg.add(var.set_auto_off(config[CONF_AUTO_OFF]))
Expand Down

0 comments on commit 766d151

Please sign in to comment.