dvd-dev / hilo

Home Assistant Hilo Integration via HACS
MIT License
136 stars 26 forks source link

Receive a lot of error in HA Logs #488

Closed Frazou1 closed 4 weeks ago

Frazou1 commented 4 weeks ago

Version of the custom_component

Configuration

2024-10-25 08:50:01.751 WARNING (MainThread) [pyhilo] Delaying invoke SubscribeToLocation 0 [35345]: Websocket not ready.
2024-10-25 08:50:01.809 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'hilo_energy_total'
2024-10-25 08:50:01.811 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'switch00_hilo_energy'
2024-10-25 08:50:01.811 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'switch01_hilo_energy'
2024-10-25 08:50:01.812 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_parent_hilo_energy'
2024-10-25 08:50:01.813 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_rosalie_hilo_energy'
2024-10-25 08:50:01.815 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_gars_hilo_energy'
2024-10-25 08:50:01.815 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_salon_hilo_energy'
2024-10-25 08:50:01.816 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_garderie_hilo_energy'
2024-10-25 08:50:01.816 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up utility_meter 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 "/usr/src/homeassistant/homeassistant/components/utility_meter/sensor.py", line 221, in async_setup_platform
    conf_meter_source = hass.data[DATA_UTILITY][meter][CONF_SOURCE_SENSOR]
                        ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'unknown_source_tracker_hilo_energy'
2024-10-25 08:50:01.818 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'hilo_energy_total'
2024-10-25 08:50:01.819 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'switch00_hilo_energy'
2024-10-25 08:50:01.820 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'switch01_hilo_energy'
2024-10-25 08:50:01.820 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_parent_hilo_energy'
2024-10-25 08:50:01.822 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_rosalie_hilo_energy'
2024-10-25 08:50:01.822 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_gars_hilo_energy'
2024-10-25 08:50:01.823 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_salon_hilo_energy'
2024-10-25 08:50:01.824 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'thermostat_garderie_hilo_energy'
2024-10-25 08:50:01.825 ERROR (MainThread) [homeassistant.components.select] Error while setting up utility_meter platform for select
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 "/usr/src/homeassistant/homeassistant/components/utility_meter/select.py", line 62, in async_setup_platform
    conf_meter_unique_id: str | None = hass.data[DATA_UTILITY][meter].get(
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
KeyError: 'unknown_source_tracker_hilo_energy'
2024-10-25 08:50:02.017 WARNING (MainThread) [custom_components.hilo] value of total_power (<state sensor.meter00_power=unavailable; state_class=measurement, unit_of_measurement=W, device_class=power, icon=mdi:lan-disconnect, friendly_name=Meter00 Power @ 2024-10-25T08:50:01.759325-04:00> not initialized correctly)

Describe the bug

A clear and concise description of what the bug is.

Debug log


Add your logs here.
ic-dev21 commented 4 weeks ago

duplicate de #428