That can prabobly be smarter, but I don't have time for it now, maybe on friday.
And the comments are sometimes wrong indeed cause I copied a lot of stuff from another Plugin that I created for my Auping Connect. I intended to use it only for my self till I saw that other people also want to us it.
thanks!
With the current setup the new device will only be created for new 'installs'. I now did a really dirty trick:
if len(Devices) == 0:
Example: Create two normal Switch devices for controlling two bed sides
That can prabobly be smarter, but I don't have time for it now, maybe on friday.
And the comments are sometimes wrong indeed cause I copied a lot of stuff from another Plugin that I created for my Auping Connect. I intended to use it only for my self till I saw that other people also want to us it.