mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 11:52:20 +01:00
Fix LG nbits
This commit is contained in:
@@ -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_))
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user