Removing Child Devices

Hello trying to remove a child device with the following in start up lua

luup.attr_set(“invisible”,“”,)

Doesn’t seem to work, can anyone help please

Thanks

[quote=“Nobber, post:1, topic:200534”]Hello trying to remove a child device with the following in start up lua

luup.attr_set(“invisible”,“”,)

Doesn’t seem to work, can anyone help please

Thanks[/quote]

Making it invisible won’t “remove” a device, at least, not in the “delete” sense. If you’re just trying to hide it in the UI, you’re on the right track, but your second argument needs to be a “1”:

luup.attr_set( "invisible", "1", devNum )

ok thank you