Skip to content

Commit 38c2429

Browse files
authored
Child device creation fix.
1 parent 61b94b7 commit 38c2429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Drivers/sonoff-4ch-tasmota.src/sonoff-4ch-tasmota.groovy

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ private void createChildDevices() {
472472
if ( device.deviceNetworkId =~ /^([0-9A-F]{2}){6}$/) {
473473
try {
474474
for (i in 1..4) {
475-
addChildDevice("Switch Child Device", "${device.deviceNetworkId}-ep${i}", null,
475+
addChildDevice("Switch Child Device", "${device.deviceNetworkId}-ep${i}",
476476
[completedSetup: true, label: "${device.displayName} (R${i})",
477477
isComponent: false, componentName: "ep$i", componentLabel: "Relay $i"])
478478
}

0 commit comments

Comments
 (0)