iMicknl / python-overkiz-api

Async Python wrapper to interact with internal Somfy TaHoma API, or other OverKiz API's.
MIT License
45 stars 28 forks source link

client.get_setup() - Different responses with Cloud and Local API #1183

Open Eridani78 opened 4 months ago

Eridani78 commented 4 months ago

Running client.get_setup() with the cloud API on a Somfy TaHoma server, I get the first item "id": "SETUP-xxx-xxxx-xxxx" which seems to be correct.

Running client.get_setup() with the local API on the Somfy local server, I get the first item "id": "_CountingAttr(counter=82, _default=None, repr=<function obfuscate_id at 0x7fff295e1580>, eq=True, order=True, hash=None, init=True, on_setattr=None, alias=None, metadata={})" making the response difficult to exploit as a Json string.

I suspect this behavior not as expected ? Could you please advise . Thanks

iMicknl commented 4 months ago

I would need to look into this, but id is not present on the Local API.

iMicknl commented 2 months ago

What is your use-case here and can you share a code snippet of what you are trying to achieve?