mirror of
https://github.com/esphome/esphome.git
synced 2025-09-03 20:02:22 +01:00
Use correct struct members. (#3672)
This commit is contained in:
@@ -744,7 +744,8 @@ def rc6_binary_sensor(var, config):
|
||||
var.set_data(
|
||||
cg.StructInitializer(
|
||||
RC6Data,
|
||||
("device", config[CONF_DEVICE]),
|
||||
("mode", 0),
|
||||
("toggle", 0),
|
||||
("address", config[CONF_ADDRESS]),
|
||||
("command", config[CONF_COMMAND]),
|
||||
)
|
||||
|
Reference in New Issue
Block a user