Sputh

Results 9 comments of Sputh

@PJanisio make sure your Python version is 3.9+

> Hmmm... Python assignment is simply `extra = data.get('extra', None)` no colon!!! Sorry, but `:=` is the walrus operator added in Python 3.8. You may check about them in the...

@PJanisio i m not sure why that error occurs. Im not able to reproduce it

@PJanisio oh damn, sorry im really sorry, this totally forgot. Its not python 3.9+ you need python 3.10+ for this library. Really very sorry for your troubles

@PJanisio hmm true. I just have sonoff and i thought 'switch' should probably be common to all devices, didnt know it wasnt i will probably make a change such that...

@Shisir99 make sure you on Python 3.10+

@PJanisio the device is `None`. Means the device ID you provided is invalid and no such device with that ID exists.

@Shisir99 I do not get that error. Check if you have multiple python installations or probably any older version of python is running the code.

@JabLuszko I'm aware. I haven't implemented those because of my exams. Until those are done, you may use: ```py await client.ws.update_device_status(deviceid, switches = ...) ``` This is raw websocket method,...