enes-oerdek / Home-Assistant-Helium-Integration

Helium Integration for Home Assistant
GNU General Public License v3.0
19 stars 5 forks source link

After (Solana) Wallet integration no devices or entities showing up #19

Open Fl77777 opened 2 months ago

Fl77777 commented 2 months ago

Hi, after I added my solana wallet ID (add integration ->select wallet -> confirm -> enter Solana wallet ID -> confirm) no device or entity is shown for this wallet. Reloading this intetegration or restarting home assistant did not resolve this issue. Any idea? Thanks

KishCom commented 1 month ago

Same here.

Logs related to the failure:

Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:361
integration: Sensor ([documentation](https://www.home-assistant.io/integrations/sensor), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+sensor%22))
First occurred: September 26, 2024 at 10:39:40 (2 occurrences)
Last logged: 12:03:51
Error while setting up helium_solana platform for sensor

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/helium_solana/sensor.py", line 78, in async_setup_entry
    sensors = await get_sensors(integration, wallet, None)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/helium_solana/sensor.py", line 167, in get_sensors
    if response.status_code == 200:
       ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'status_code'

However this repo looks abandoned :(