mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Fix LG nbits
This commit is contained in:
parent
85195436c1
commit
6516a6ff7e
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ def lg_dumper(var, config):
|
|||
def lg_action(var, config, args):
|
||||
template_ = yield cg.templatable(config[CONF_DATA], args, cg.uint32)
|
||||
cg.add(var.set_data(template_))
|
||||
template_ = yield cg.templatable(config[CONF_DATA], args, cg.uint8)
|
||||
template_ = yield cg.templatable(config[CONF_NBITS], args, cg.uint8)
|
||||
cg.add(var.set_nbits(template_))
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue