fixes samsung ir (#738)

fixes https://github.com/esphome/issues/issues/691
This commit is contained in:
Guillermo Ruffino 2019-09-28 10:26:48 -03:00 committed by GitHub
parent d4e0e1518a
commit f4f1164b94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -640,7 +640,7 @@ def samsung_dumper(var, config):
@register_action('samsung', SamsungAction, SAMSUNG_SCHEMA) @register_action('samsung', SamsungAction, SAMSUNG_SCHEMA)
def samsung_action(var, config, args): def samsung_action(var, config, args):
template_ = yield cg.templatable(config[CONF_DATA], args, cg.uint16) template_ = yield cg.templatable(config[CONF_DATA], args, cg.uint32)
cg.add(var.set_data(template_)) cg.add(var.set_data(template_))