Closed SchumyHao closed 5 years ago
Please explmain how does this work? This will always creates a channel if its not exists?
Yeap
setObjectNotExistsAsync
will create a object if not exist.
So I use this to create a channel object for linked state object.
After add this patch, I can set room and function enum for this channel
@Scrounger Do you think this patch can me merged?
at the moment i am not clear about this is the right solution. With this solution it will always create a channel or if it still exist, it will be overwritten.
At my opinion it would be better to have an integration in the admin adapter: https://github.com/ioBroker/ioBroker.admin/issues/415
Alternative could be a button to clone channels, devices etc. in the linkeddevices adapter settings. I have to think about that.
setObjectNotExistsAsync only create object if it is not exist.
Without channel object, type-detector will not work perfactly
Hi @Scrounger This is a PR for #6