1
0
mirror of https://github.com/esphome/esphome.git synced 2024-10-06 02:40:56 +01:00

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