MELCloud - Error - "This request has been throttled due to an excessive amount of traffic to our service" #109728
Description
The problem
UPDATE / EDIT: It is not related to the HA upgrade. It is related to some change MELCloud have done on their servers.
2024-02-05 17:04:27.418 ERROR (MainThread) [homeassistant.components.climate] melcloud: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 573, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1216, in async_device_update
await self.async_update()
File "/usr/src/homeassistant/homeassistant/components/melcloud/climate.py", line 125, in async_update
await self.api.async_update()
File "/usr/src/homeassistant/homeassistant/components/melcloud/init.py", line 107, in async_update
await self.device.update()
File "/usr/local/lib/python3.11/site-packages/pymelcloud/device.py", line 86, in update
self._energy_report = await self._client.fetch_energy_report(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pymelcloud/client.py", line 195, in fetch_energy_report
async with self._session.post(
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1194, in aenter
self._resp = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 693, in _request
resp.raise_for_status()
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1060, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 429, message='This request has been throttled due to an excessive amount of traffic to our service.', url=URL('https://app.melcloud.com/Mitsubishi.Wifi.Client/EnergyCost/Report')
What version of Home Assistant Core has the issue?
core-2024.1.6
What was the last working version of Home Assistant Core?
core-2024.1.5
What type of installation are you running?
Home Assistant Container
Integration causing the issue
MELCloud
Link to integration documentation on our website
https://www.home-assistant.io/integrations/melcloud
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response