signalkraft / mypyllant-component

Home Assistant component for the myVAILLANT API, controls Vaillant devices such as aroTHERM heatpumps and ecoTEC boilers
https://signalkraft.com/mypyllant-component/
MIT License
142 stars 21 forks source link

[myPyllant.api] Could not get rooms data #196

Open barto64 opened 3 months ago

barto64 commented 3 months ago

Problem description

Not the end of the world, but after the latest update HA Log is throwing WARNING meesages every second making the log to growth exponentially.

Logs

2024-07-22 17:46:51.642 WARNING (MainThread) [myPyllant.api] Could not get rooms data Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/myPyllant/api.py", line 1387, in get_ambisense_rooms response = await self.aiohttp_session.get( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/client.py", line 694, in _request await raise_for_status(resp) File "/usr/local/lib/python3.12/site-packages/myPyllant/http_client.py", line 73, in on_raise_for_status response.raise_for_status() File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1070, in raise_for_status raise ClientResponseError( aiohttp.client_exceptions.ClientResponseError: 409, message='Conflict', url=URL('https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/api/v1/ambisense/facilities/f0861e7f-093c-41e3-a1f7-7fae0c790c58/rooms')

LeiChat commented 3 months ago

v.0.8.13 - Seeing the same errors for, line 1387, in get_ambisense_rooms.

mzaufl commented 3 months ago

v0.8.13 same Issue. Thx for fixing!

signalkraft commented 3 months ago

Please disable "Fetch Ambisense Room Thermostats" in the options of the integration, and let me know if it goes away please!

LeiChat commented 3 months ago

Yes, thank you.

mzaufl commented 3 months ago

Scheint zu funktionieren. Nach deaktivieren der u.a. Option auch nach Neustart keine Fehler mehr, Danke

Seems to work. After deactivating the option among other things, no more errors even after restarting, thank you

signalkraft @.***> schrieb am Sa., 27. Juli 2024, 09:44:

Please disable "Fetch Ambisense Room Thermostats" in the options of the integration, and let me know if it goes away please!

— Reply to this email directly, view it on GitHub https://github.com/signalkraft/mypyllant-component/issues/196#issuecomment-2253963670, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH4HU5GKCNUKLSXNHX445Q3ZONFW7AVCNFSM6AAAAABLITI6RSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJTHE3DGNRXGA . You are receiving this because you commented.Message ID: @.***>