mirror of
https://github.com/esphome/esphome.git
synced 2024-11-14 02:58:11 +01:00
Use correct struct members. (#3672)
This commit is contained in:
parent
50f32a3aa5
commit
e5eaf7a3fe
1 changed files with 2 additions and 1 deletions
|
@ -744,7 +744,8 @@ def rc6_binary_sensor(var, config):
|
||||||
var.set_data(
|
var.set_data(
|
||||||
cg.StructInitializer(
|
cg.StructInitializer(
|
||||||
RC6Data,
|
RC6Data,
|
||||||
("device", config[CONF_DEVICE]),
|
("mode", 0),
|
||||||
|
("toggle", 0),
|
||||||
("address", config[CONF_ADDRESS]),
|
("address", config[CONF_ADDRESS]),
|
||||||
("command", config[CONF_COMMAND]),
|
("command", config[CONF_COMMAND]),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue