1
0
mirror of https://github.com/esphome/esphome.git synced 2025-01-31 18:20:53 +00:00

Fix LG nbits

This commit is contained in:
Otto Winter 2019-07-03 17:16:46 +02:00
parent 85195436c1
commit 6516a6ff7e
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -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_))