Great to hear it is working out for you.
I would recommend to check against the presence attribute, that one takes into account how the actual device reports events. When present the device is connected, when not present it is not available.
Great to hear it is working out for you.
I would recommend to check against the presence attribute, that one takes into account how the actual device reports events. When present the device is connected, when not present it is not available.