hacs-hubitat
hacs-hubitat copied to clipboard
Failed to setup
Hello:
For the past few days, I have been running into issues with the hubitat integration failing. It has worked fine for over a year without any issues. All of the sudden HA and MakerAPI in hubitat are no longer communicating. I can't recall anything changing in my setup.
I am running version 0.9.43 in HA. HA firmware version 2025.3.4. Please see error logs below from HA
Logger: homeassistant.config_entries Source: config_entries.py:753 First occurred: 6:37:56 PM (2 occurrences) Last logged: 6:40:13 PM
Error setting up entry Hubitat (3c30ab44) for hubitat Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 753, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hubitat/init.py", line 39, in async_setup_entry hub: Hub = await Hub.create( ^^^^^^^^^^^^^^^^^ hass, config_entry, len(cast(dict[str, Any], hass.data[DOMAIN])) + 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/config/custom_components/hubitat/hub.py", line 324, in create await hubitat_hub.start() File "/config/custom_components/hubitat/hubitatmaker/hub.py", line 198, in start await self.load_devices() File "/config/custom_components/hubitat/hubitatmaker/hub.py", line 183, in load_devices await self._load_device(cast(str, dev["id"]), force_refresh) File "/config/custom_components/hubitat/hubitatmaker/hub.py", line 392, in _load_device data = cast(dict[str, Any], await self._api_request(f"devices/{device_id}")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/hubitat/hubitatmaker/hub.py", line 449, in _api_request raise RequestError(resp) custom_components.hubitat.hubitatmaker.error.RequestError: GET http://192.168.1.35/apps/api/1052/devices/83?access_token=XXXXXXXXXXXX - [500] Server Error