python-switchbot icon indicating copy to clipboard operation
python-switchbot copied to clipboard

RuntimeError: An error occurred: Cannot read properties of undefined (reading '0')

Open vrozhdestvenskyi opened this issue 8 months ago • 0 comments

Hey! First of all, thank you very much for the great module.

Following the steps from the description, I'm able to enumerate the available devices, connect to one and the only Bot I have and print its status (which is {'device_id': '...', 'device_type': 'bot'}). However, when I try to activate it via calling the device.press() or device.command('press') or device.toggle(), I get the aforementioned error.

Does anyone know what the error mean?

vrozhdestvenskyi avatar Jun 10 '24 21:06 vrozhdestvenskyi