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
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
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules