Open NaatuMik opened 9 months ago
I have a workaround in PR #5 while there is a build issue with h3.
I have a workaround in PR #5 while there is a build issue with h3.
How would I go about using your workaround? I tried using your fork but it looks like it's the same as this one?
I have a workaround in PR #5 while there is a build issue with h3.
How would I go about using your workaround? I tried using your fork but it looks like it's the same as this one?
Either manually edit the files to match PR #5 or use the timeapi.io branch of my fork: https://github.com/k3vmcd/hass-arvee/tree/timeapi.io
However, I just re-tested the unmodified code, and while it throws an error in the logs saying it failed to load the integration, it does still work on the latest Home Assistant with Core 2024.5.5, Supervisor 2024.05.1, and OS 12.3. So this workaround may not be necessary anymore if your Home Assistant is up to date.
@brooksben11 I opened another pull request #6 which creates the services.yaml file that will eliminate the load error message when it actually had a successful build (example below).
2024-05-25 15:39:50.788 ERROR (MainThread) [homeassistant.helpers.service] Failed to load integration: arvee NoneType: None
@brooksben11 My main branch at https://github.com/k3vmcd/hass-arvee/tree/main now has this services.yaml as well as allowing timezonefinder to be any version greater than the original code's 6.1.9.
@brooksben11 My main branch at https://github.com/k3vmcd/hass-arvee/tree/main now has this services.yaml as well as allowing timezonefinder to be any version greater than the original code's 6.1.9.
I must be doing something stupid, because I again tried using your fork and same as the original it just seems to not load? I installed via HACS and restarted HA but no arvee services show up. I also tried adding arvee: to my config file, but when I do a check it just spins and spins (I never tried actually restarting though). I don't see anything relevant in my logs either.
As a sidenote, even though I entered your fork as a custom repository, it still lists the original owner when I actually download it, which is counter to what I've ever seen before (and no, I don't have both as custom repositories).
@brooksben11 You should see the contents of https://github.com/k3vmcd/hass-arvee/tree/main/custom_components/arvee in your HA custom_components/arvee folder. You can manually copy the files there too, if needed.
arvee:
needs to go into your configuration.yaml file
Then you'll have to restart HA to load the new custom_component files.
That should work. Let me know if it doesn't and I'll try to clear mine out and reload completely to test it again.
Sorry for the late reply, been on the road (hence my want for this integration) and haven't had easy access to my computer.
@brooksben11 You should see the contents of https://github.com/k3vmcd/hass-arvee/tree/main/custom_components/arvee in your HA custom_components/arvee folder. You can manually copy the files there too, if needed.
arvee:
needs to go into your configuration.yaml fileThen you'll have to restart HA to load the new custom_component files.
That should work. Let me know if it doesn't and I'll try to clear mine out and reload completely to test it again.
Just started from scratch again, and the same issue occurs when I try to add the arvee: line to my config file. When I 'Check Configuration' it just spins and spins. This is the error the logs show: Logger: aiohttp.server Source: /usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py:421 First occurred: 5:09:38 PM (3 occurrences) Last logged: 5:11:28 PM
Error handling request Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request resp = await request_handler(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle resp = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 88, in ban_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp_session/init.py", line 199, in factory response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 295, in auth_middleware return await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware response = await handler(request) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle result = await handler(request, *request.match_info) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 71, in with_admin return await func(self, request, args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/config/core.py", line 38, in post res = await check_config.async_check_ha_config_file(request.app[KEY_HASS]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/check_config.py", line 194, in async_check_ha_config_file component = await integration.async_get_component() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: '_asyncio.Future' object has no attribute 'async_get_component'
@brooksben11 I haven't been able to fully figure out your problem. There are a few things that have developed over the last few weeks:
Fails to load timezonefinder component. I get this error in log: