Skip to content

Failed to set-up #1016

Description

@karbon15

Version of the custom_component

Version 2026.8.2

Configuration

Please ask if needed.

Describe the bug

Plugin won't initialize since the update

Debug log


2026-08-18 21:08:03.915 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hilo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-08-18 21:08:03.917 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration presence_simulation which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-08-18 21:08:03.917 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration誕生 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-08-18 21:08:03.918 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hilo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-08-18 21:08:03.919 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration presence_simulation which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-08-18 21:08:03.919 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2026-08-18 21:08:05.742 WARNING (MainThread) [custom_components.hacs] <HacsData async_restore_repository> duplicate IDs The repo id for hugo-brito/ha-minvandforsyning is already set to 1325795051
2026-08-18 21:08:07.124 WARNING (MainThread) [custom_components.hilo] Starting legacy connection to ChallengeHub. Your tarif is rate d, and will also attempt connection. This can be safely ignored. This will be deprecated
2026-08-18 21:08:07.320 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('custom_components.hilo.sensor',) inside the event loop by custom integration 'hilo' at custom_components/hilo/__init__.py, line 226: await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS) (offender: /usr/src/homeassistant/homeassistant/loader.py, line 1307: return importlib.import_module(f"{self.pkg_path}.{platform_name}")), please create a bug report at https://github.com/dvd-dev/hilo/issues
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 229, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 215, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 289, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 712, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 683, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 2050, in _run_once
    handle._run()
  File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 928, in async_setup_locked
    await self.async_setup(hass, integration=integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 672, in async_setup
    await self.__async_setup_with_context(hass, integration)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
  File "/config/custom_components/hilo/__init__.py", line 226, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

2026-08-18 21:08:07.323 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry <REDACTED_EMAIL> for hilo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hilo/__init__.py", line 226, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2611, in async_forward_entry_setups
    await integration.async_get_platforms(platforms)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  [Previous line repeated 1 more time]
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
    platforms.update(self._load_platforms(platform_names))
                     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1101, in _load_platforms
    platform_name: self._load_platform(platform_name)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1275, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1307, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/hilo/sensor.py", line 17, in <module>
    from homeassistant.const import (
    ...<12 lines>...
    )
ImportError: cannot import name 'UnitOfRatio' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
2026-08-18 21:11:39.740 WARNING (MainThread) [custom_components.hilo] Starting legacy connection to ChallengeHub. Your tarif is rate d, and will also attempt connection. This can be safely ignored. This will be deprecated
2026-08-18 21:11:39.891 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry <REDACTED_EMAIL> for hilo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hilo/__init__.py", line 226, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2611, in async_forward_entry_setups
    await integration.async_get_platforms(platforms)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  [Previous line repeated 1 more time]
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
    platforms.update(self._load_platforms(platform_names))
                     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1101, in _load_platforms
    platform_name: self._load_platform(platform_name)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1275, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1307, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/hilo/sensor.py", line 17, in <module>
    from homeassistant.const import (
    ...<12 lines>...
    )
ImportError: cannot import name 'UnitOfRatio' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)
2026-08-18 21:17:30.212 DEBUG (MainThread) [custom_components.hilo] Entities Ordered dict is OrderedDict({'automation.coucher_a_8h': {'name': 'automation.coucher_a_8h'}, 'automation.fin_se_semaine_8h': {'name': 'automation.fin_se_semaine_8h'}, 'automation.lever': {'name': 'automation.lever'}, 'automation.pre_prechauffage_pm_13h55': {'name': 'automation.pre_prechauffage_pm_13h55'}, 'automation.scene_5_min_avant_prechauffage_matin': {'name': 'automation.scene_5_min_avant_prechauffage_matin'}, 'automation.soirs_de_semaine_a_4h': {'name': 'automation.soirs_de_semaine_a_4h'}, 'automation.travail_a_7h30': {'name': 'automation.travail_a_7h30'}, 'automation.turn_off_on_lock': {'name': 'automation.turn_off_on_lock'}, 'automation.turn_on_on_unlock': {'name': 'automation.turn_on_on_unlock'}, 'automation.vacances_a_7am': {'name': 'automation.vacances_a_7am'}, 'binary_sensor.front_door_door': {'name': 'binary_sensor.front_door_door'}, 'binary_sensor.redacted_device_filter_clean_required': {'name': 'binary_sensor.redacted_device_filter_clean_required'}, 'binary_sensor.pixel_9_pro_android_auto': {'name': 'binary_sensor.pixel_9_pro_android_auto'}, 'binary_sensor.pixel_9_pro_app_inactive': {'name': 'binary_sensor.pixel_9_pro_app_inactive'}, 'binary_sensor.pixel_9_pro_bluetooth_state': {'name': 'binary_sensor.pixel_9_pro_bluetooth_state'}, 'binary_sensor.pixel_9_pro_device_locked': {'name': 'binary_sensor.pixel_9_pro_device_locked'}, 'binary_sensor.pixel_9_pro_device_secure': {'name': 'binary_sensor.pixel_9_pro_device_secure'}, 'binary_sensor.pixel_9_pro_doze_mode': {'name': 'binary_sensor.pixel_9_pro_doze_mode'}, 'binary_sensor.pixel_9_pro_headphones': {'name': 'binary_sensor.pixel_9_pro_headphones'}, 'binary_sensor.pixel_9_pro_high_accuracy_mode': {'name': 'binary_sensor.pixel_9_pro_high_accuracy_mode'}, 'binary_sensor.pixel_9_pro_hotspot_state': {'name': 'binary_sensor.pixel_9_pro_hotspot_state'}, 'binary_sensor.pixel_9_pro_interactive': {'name': 'binary_sensor.pixel_9_pro_interactive'}, 'binary_sensor.pixel_9_pro_is_charging': {'name': 'binary_sensor.pixel_9_pro_is_charging'}, 'binary_sensor.pixel_9_pro_keyguard_locked': {'name': 'binary_sensor.pixel_9_pro_keyguard_locked'}, 'binary_sensor.pixel_9_pro_keyguard_secure': {'name': 'binary_sensor.pixel_9_pro_keyguard_secure'}, 'binary_sensor.pixel_9_pro_mic_muted': {'name': 'binary_sensor.pixel_9_pro_mic_muted'}, 'binary_sensor.pixel_9_pro_mobile_data': {'name': 'binary_sensor.pixel_9_pro_mobile_data'}, 'binary_sensor.pixel_9_pro_mobile_data_roaming': {'name': 'binary_sensor.pixel_9_pro_mobile_data_roaming'}, 'binary_sensor.pixel_9_pro_music_active': {'name': 'binary_sensor.pixel_9_pro_music_active'}, 'binary_sensor.pixel_9_pro_nfc_state': {'name': 'binary_sensor.pixel_9_pro_nfc_state'}, 'binary_sensor.pixel_9_pro_power_save': {'name': 'binary_sensor.pixel_9_pro_power_save'}, 'binary_sensor.pixel_9_pro_speakerphone': {'name': 'binary_sensor.pixel_9_pro_speakerphone'}, 'binary_sensor.pixel_9_pro_wi_fi_state': {'name': 'binary_sensor.pixel_9_pro_wi_fi_state'}, 'binary_sensor.pixel_9_pro_work_profile': {'name': 'binary_sensor.pixel_9_pro_work_profile'}, 'binary_sensor.sun_solar_rising': {'name': 'binary_sensor.sun_solar_rising'}, 'button.front_door_wake': {'name': 'button.front_door_wake'}, 'button.redacted_device_reset_filter': {'name': 'button.redacted_device_reset_filter'}, 'climate.redacted_device': {'name': 'climate.redacted_device'}, 'climate.thermostat': {'name': 'climate.thermostat'}, 'climate.thermostat_2': {'name': 'climate.thermostat_2'}, 'climate.thermostat_3': {'name': 'climate.thermostat_3'}, 'climate.thermostat_4': {'name': 'climate.thermostat_4'}, 'device_tracker.pixel_9_pro': {'name': 'device_tracker.pixel_9_pro'}, 'event.backup_automatic_backup': {'name': 'event.backup_automatic_backup'}, 'light.dining_room_chandelier': {'name': 'light.dining_room_chandelier'}, 'light.exterior_deck_lights': {'name': 'light.exterior_deck_lights'}, 'light.front_foyer_spot_lights': {'name': 'light.front_foyer_spot_lights'}, 'light.hallway_main_lights': {'name': 'light.hallway_main_lights'}, 'light.kitchen_main_lights': {'name': 'light.kitchen_main_lights'}, 'light.kitchen_under_cabinet': {'name': 'light.kitchen_under_cabinet'}, 'light.living_room_lampe': {'name': 'light.living_room_lampe'}, 'light.master_bedroom_chambre': {'name': 'light.master_bedroom_chambre'}, 'light.office_main_lights': {'name': 'light.office_main_lights'}, 'light.utility_room_main_lights': {'name': 'light.utility_room_main_lights'}, 'lock.front_door': {'name': 'lock.front_door'}, 'media_player.shield_android_tv': {'name': 'media_player.shield_android_tv'}, 'number.redacted_device_humidity_calibration': {'name': 'number.redacted_device_humidity_calibration'}, 'number.redacted_device_temperature_calibration': {'name': 'number.redacted_device_temperature_calibration'}, 'person.redacted_user': {'name': 'person.redacted_user'}, 'remote.shield_android_tv': {'name': 'remote.shield_android_tv'}, 'scene.all_off': {'name': 'scene.all_off'}, 'scene.bedroom_dim': {'name': 'scene.bedroom_dim'}, 'scene.coucher': {'name': 'scene.coucher'}, 'scene.lever': {'name': 'scene.lever'}, 'scene.parti': {'name': 'scene.parti'}, 'scene.pre_prechauffage_am': {'name': 'scene.pre_prechauffage_am'}, 'scene.pre_prechauffage_pm': {'name': 'scene.pre_prechauffage_pm'}, 'scene.relax_salon': {'name': 'scene.relax_salon'}, 'scene.soir_et_fin_de_semaine': {'name': 'scene.soir_et_fin_de_semaine'}, 'scene.travail': {'name': 'scene.travail'}, 'script.1785892607835': {'name': 'script.1785892607835'}, 'select.redacted_device_horizontal_swing': {'name': 'select.redacted_device_horizontal_swing'}, 'select.redacted_device_light': {'name': 'select.redacted_device_light'}, 'sensor.apc_ups_battery_charge': {'name': 'sensor.apc_ups_battery_charge'}, 'sensor.apc_ups_input_voltage': {'name': 'sensor.apc_ups_input_voltage'}, 'sensor.apc_ups_load': {'name': 'sensor.apc_ups_load'}, 'sensor.apc_ups_status': {'name': 'sensor.apc_ups_status'}, 'sensor.apc_ups_status_data': {'name': 'sensor.apc_ups_status_data'}, 'sensor.backup_backup_manager_state': {'name': 'sensor.backup_backup_manager_state'}, 'sensor.backup_last_attempted_automatic_backup': {'name': 'sensor.backup_last_attempted_automatic_backup'}, 'sensor.backup_last_successful_automatic_backup': {'name': 'sensor.backup_last_successful_automatic_backup'}, 'sensor.backup_next_scheduled_automatic_backup': {'name': 'sensor.backup_next_scheduled_automatic_backup'}, 'sensor.defi_hilo': {'name': 'sensor.defi_hilo'}, 'sensor.front_door_battery': {'name': 'sensor.front_door_battery'}, 'sensor.front_door_operator': {'name': 'sensor.front_door_operator'}, 'sensor.hilo_gateway': {'name': 'sensor.hilo_gateway'}, 'sensor.meter00_power': {'name': 'sensor.meter00_power'}, 'sensor.notifications_hilo': {'name': 'sensor.notifications_hilo'}, 'sensor.outdoor_weather_hilo': {'name': 'sensor.outdoor_weather_hilo'}, 'sensor.redacted_device_climate_react_high_temperature_threshold': {'name': 'sensor.redacted_device_climate_react_high_temperature_threshold'}, 'sensor.redacted_device_climate_react_low_temperature_threshold': {'name': 'sensor.redacted_device_climate_react_low_temperature_threshold'}, 'sensor.redacted_device_climate_react_type': {'name': 'sensor.redacted_device_climate_react_type'}, 'sensor.redacted_device_filter_last_reset': {'name': 'sensor.redacted_device_filter_last_reset'}, 'sensor.redacted_device_temperature_feels_like': {'name': 'sensor.redacted_device_temperature_feels_like'}, 'sensor.redacted_device_timer_end_time': {'name': 'sensor.redacted_device_timer_end_time'}, 'sensor.pixel_9_pro_accent_color': {'name': 'sensor.pixel_9_pro_accent_color'}, 'sensor.pixel_9_pro_active_calories_burned': {'name': 'sensor.pixel_9_pro_active_calories_burned'}, 'sensor.pixel_9_pro_active_notification_count': {'name': 'sensor.pixel_9_pro_active_notification_count'}, 'sensor.pixel_9_pro_app_importance': {'name': 'sensor.pixel_9_pro_app_importance'}, 'sensor.pixel_9_pro_app_memory': {'name': 'sensor.pixel_9_pro_app_memory'}, 'sensor.pixel_9_pro_app_rx_gb': {'name': 'sensor.pixel_9_pro_app_rx_gb'}, 'sensor.pixel_9_pro_app_standby_bucket': {'name': 'sensor.pixel_9_pro_app_standby_bucket'}, 'sensor.pixel_9_pro_app_tx_gb': {'name': 'sensor.pixel_9_pro_app_tx_gb'}, 'sensor.pixel_9_pro_audio_mode': {'name': 'sensor.pixel_9_pro_audio_mode'}, 'sensor.pixel_9_pro_basal_body_temperature': {'name': 'sensor.pixel_9_pro_basal_body_temperature'}, 'sensor.pixel_9_pro_basal_metabolic_rate': {'name': 'sensor.pixel_9_pro_basal_metabolic_rate'}, 'sensor.pixel_9_pro_battery_cycle_count': {'name': 'sensor.pixel_9_pro_battery_cycle_count'}, 'sensor.pixel_9_pro_battery_health': {'name': 'sensor.pixel_9_pro_battery_health'}, 'sensor.pixel_9_pro_battery_level': {'name': 'sensor.pixel_9_pro_battery_level'}, 'sensor.pixel_9_pro_battery_power': {'name': 'sensor.pixel_9_pro_battery_power'}, 'sensor.pixel_9_pro_battery_state': {'name': 'sensor.pixel_9_pro_battery_state'}, 'sensor.pixel_9_pro_battery_temperature': {'name': 'sensor.pixel_9_pro_battery_temperature'}, 'sensor.pixel_9_pro_beacon_monitor': {'name': 'sensor.pixel_9_pro_beacon_monitor'}, 'sensor.pixel_9_pro_ble_transmitter': {'name': 'sensor.pixel_9_pro_ble_transmitter'}, 'sensor.pixel_9_pro_blood_glucose': {'name': 'sensor.pixel_9_pro_blood_glucose'}, 'sensor.pixel_9_pro_bluetooth_connection': {'name': 'sensor.pixel_9_pro_bluetooth_connection'}, 'sensor.pixel_9_pro_body_fat': {'name': 'sensor.pixel_9_pro_body_fat'}, 'sensor.pixel_9_pro_body_temperature': {'name': 'sensor.pixel_9_pro_body_temperature'}, 'sensor.pixel_9_pro_body_water_mass': {'name': 'sensor.pixel_9_pro_body_water_mass'}, 'sensor.pixel_9_pro_bone_mass': {'name': 'sensor.pixel_9_pro_bone_mass'}, 'sensor.pixel_9_pro_car_battery': {'name': 'sensor.pixel_9_pro_car_battery'}, 'sensor.pixel_9_pro_car_charging_status': {'name': 'sensor.pixel_9_pro_car_charging_status'}, 'sensor.pixel_9_pro_car_ev_connector_type': {'name': 'sensor.pixel_9_pro_car_ev_connector_type'}, 'sensor.pixel_9_pro_car_fuel': {'name': 'sensor.pixel_9_pro_car_fuel'}, 'sensor.pixel_9_pro_car_fuel_type': {'name': 'sensor.pixel_9_pro_car_fuel_type'}, 'sensor.pixel_9_pro_car_name': {'name': 'sensor.pixel_9_pro_car_name'}, 'sensor.pixel_9_pro_car_odometer': {'name': 'sensor.pixel_9_pro_car_odometer'}, 'sensor.pixel_9_pro_car_range_remaining': {'name': 'sensor.pixel_9_pro_car_range_remaining'}, 'sensor.pixel_9_pro_car_speed': {'name': 'sensor.pixel_9_pro_car_speed'}, 'sensor.pixel_9_pro_charger_type': {'name': 'sensor.pixel_9_pro_charger_type'}, 'sensor.pixel_9_pro_current_time_zone': {'name': 'sensor.pixel_9_pro_current_time_zone'}, 'sensor.pixel_9_pro_current_version': {'name': 'sensor.pixel_9_pro_current_version'}, 'sensor.pixel_9_pro_daily_distance': {'name': 'sensor.pixel_9_pro_daily_distance'}, 'sensor.pixel_9_pro_daily_elevation_gained': {'name': 'sensor.pixel_9_pro_daily_elevation_gained'}, 'sensor.pixel_9_pro_daily_floors': {'name': 'sensor.pixel_9_pro_daily_floors'}, 'sensor.pixel_9_pro_daily_hydration': {'name': 'sensor.pixel_9_pro_daily_hydration'}, 'sensor.pixel_9_pro_daily_steps': {'name': 'sensor.pixel_9_pro_daily_steps'}, 'sensor.pixel_9_pro_data_network_type_sim_1': {'name': 'sensor.pixel_9_pro_data_network_type_sim_1'}, 'sensor.pixel_9_pro_data_network_type_sim_2': {'name': 'sensor.pixel_9_pro_data_network_type_sim_2'}, 'sensor.pixel_9_pro_detected_activity': {'name': 'sensor.pixel_9_pro_detected_activity'}, 'sensor.pixel_9_pro_diastolic_blood_pressure': {'name': 'sensor.pixel_9_pro_diastolic_blood_pressure'}, 'sensor.pixel_9_pro_do_not_disturb_sensor': {'name': 'sensor.pixel_9_pro_do_not_disturb_sensor'}, 'sensor.pixel_9_pro_external_storage': {'name': 'sensor.pixel_9_pro_external_storage'}, 'sensor.pixel_9_pro_geocoded_location': {'name': 'sensor.pixel_9_pro_geocoded_location'}, 'sensor.pixel_9_pro_heart_rate': {'name': 'sensor.pixel_9_pro_heart_rate'}, 'sensor.pixel_9_pro_heart_rate_variability': {'name': 'sensor.pixel_9_pro_heart_rate_variability'}, 'sensor.pixel_9_pro_height': {'name': 'sensor.pixel_9_pro_height'}, 'sensor.pixel_9_pro_high_accuracy_update_interval': {'name': 'sensor.pixel_9_pro_high_accuracy_update_interval'}, 'sensor.pixel_9_pro_internal_storage': {'name': 'sensor.pixel_9_pro_internal_storage'}, 'sensor.pixel_9_pro_ipv6_addresses': {'name': 'sensor.pixel_9_pro_ipv6_addresses'}, 'sensor.pixel_9_pro_last_notification': {'name': 'sensor.pixel_9_pro_last_notification'}, 'sensor.pixel_9_pro_last_reboot': {'name': 'sensor.pixel_9_pro_last_reboot'}, 'sensor.pixel_9_pro_last_removed_notification': {'name': 'sensor.pixel_9_pro_last_removed_notification'}, 'sensor.pixel_9_pro_last_update_trigger': {'name': 'sensor.pixel_9_pro_last_update_trigger'}, 'sensor.pixel_9_pro_last_used_app': {'name': 'sensor.pixel_9_pro_last_used_app'}, 'sensor.pixel_9_pro_lean_body_mass': {'name': 'sensor.pixel_9_pro_lean_body_mass'}, 'sensor.pixel_9_pro_light_sensor': {'name': 'sensor.pixel_9_pro_light_sensor'}, 'sensor.pixel_9_pro_media_session': {'name': 'sensor.pixel_9_pro_media_session'}, 'sensor.pixel_9_pro_mobile_rx_gb': {'name': 'sensor.pixel_9_pro_mobile_rx_gb'}, 'sensor.pixel_9_pro_mobile_tx_gb': {'name': 'sensor.pixel_9_pro_mobile_tx_gb'}, 'sensor.pixel_9_pro_network_type': {'name': 'sensor.pixel_9_pro_network_type'}, 'sensor.pixel_9_pro_next_alarm': {'name': 'sensor.pixel_9_pro_next_alarm'}, 'sensor.pixel_9_pro_os_version': {'name': 'sensor.pixel_9_pro_os_version'}, 'sensor.pixel_9_pro_oxygen_saturation': {'name': 'sensor.pixel_9_pro_oxygen_saturation'}, 'sensor.pixel_9_pro_phone_state': {'name': 'sensor.pixel_9_pro_phone_state'}, 'sensor.pixel_9_pro_pressure_sensor': {'name': 'sensor.pixel_9_pro_pressure_sensor'}, 'sensor.pixel_9_pro_proximity_sensor': {'name': 'sensor.pixel_9_pro_proximity_sensor'}, 'sensor.pixel_9_pro_public_ip_address': {'name': 'sensor.pixel_9_pro_public_ip_address'}, 'sensor.pixel_9_pro_remaining_charge_time': {'name': 'sensor.pixel_9_pro_remaining_charge_time'}, 'sensor.pixel_9_pro_respiratory_rate': {'name': 'sensor.pixel_9_pro_respiratory_rate'}, 'sensor.pixel_9_pro_resting_heart_rate': {'name': 'sensor.pixel_9_pro_resting_heart_rate'}, 'sensor.pixel_9_pro_ringer_mode': {'name': 'sensor.pixel_9_pro_ringer_mode'}, 'sensor.pixel_9_pro_screen_brightness': {'name': 'sensor.pixel_9_pro_screen_brightness'}, 'sensor.pixel_9_pro_screen_off_timeout': {'name': 'sensor.pixel_9_pro_screen_off_timeout'}, 'sensor.pixel_9_pro_screen_orientation': {'name': 'sensor.pixel_9_pro_screen_orientation'}, 'sensor.pixel_9_pro_screen_rotation': {'name': 'sensor.pixel_9_pro_screen_rotation'}, 'sensor.pixel_9_pro_security_patch': {'name': 'sensor.pixel_9_pro_security_patch'}, 'sensor.pixel_9_pro_signal_strength_sim_1': {'name': 'sensor.pixel_9_pro_signal_strength_sim_1'}, 'sensor.pixel_9_pro_signal_strength_sim_2': {'name': 'sensor.pixel_9_pro_signal_strength_sim_2'}, 'sensor.pixel_9_pro_sim_1': {'name': 'sensor.pixel_9_pro_sim_1'}, 'sensor.pixel_9_pro_sim_2': {'name': 'sensor.pixel_9_pro_sim_2'}, 'sensor.pixel_9_pro_sleep_confidence': {'name': 'sensor.pixel_9_pro_sleep_confidence'}, 'sensor.pixel_9_pro_sleep_duration': {'name': 'sensor.pixel_9_pro_sleep_duration'}, 'sensor.pixel_9_pro_sleep_segment': {'name': 'sensor.pixel_9_pro_sleep_segment'}, 'sensor.pixel_9_pro_steps_sensor': {'name': 'sensor.pixel_9_pro_steps_sensor'}, 'sensor.pixel_9_pro_systolic_blood_pressure': {'name': 'sensor.pixel_9_pro_systolic_blood_pressure'}, 'sensor.pixel_9_pro_total_calories_burned': {'name': 'sensor.pixel_9_pro_total_calories_burned'}, 'sensor.pixel_9_pro_total_rx_gb': {'name': 'sensor.pixel_9_pro_total_rx_gb'}, 'sensor.pixel_9_pro_total_tx_gb': {'name': 'sensor.pixel_9_pro_total_tx_gb'}, 'sensor.pixel_9_pro_vo2_max': {'name': 'sensor.pixel_9_pro_vo2_max'}, 'sensor.pixel_9_pro_volume_level_accessibility': {'name': 'sensor.pixel_9_pro_volume_level_accessibility'}, 'sensor.pixel_9_pro_volume_level_alarm': {'name': 'sensor.pixel_9_pro_volume_level_alarm'}, 'sensor.pixel_9_pro_volume_level_call': {'name': 'sensor.pixel_9_pro_volume_level_call'}, 'sensor.pixel_9_pro_volume_level_dtmf': {'name': 'sensor.pixel_9_pro_volume_level_dtmf'}, 'sensor.pixel_9_pro_volume_level_music': {'name': 'sensor.pixel_9_pro_volume_level_music'}, 'sensor.pixel_9_pro_volume_level_notification': {'name': 'sensor.pixel_9_pro_volume_level_notification'}, 'sensor.pixel_9_pro_volume_level_ringer': {'name': 'sensor.pixel_9_pro_volume_level_ringer'}, 'sensor.pixel_9_pro_volume_level_system': {'name': 'sensor.pixel_9_pro_volume_level_system'}, 'sensor.pixel_9_pro_weight': {'name': 'sensor.pixel_9_pro_weight'}, 'sensor.pixel_9_pro_wi_fi_bssid': {'name': 'sensor.pixel_9_pro_wi_fi_bssid'}, 'sensor.pixel_9_pro_wi_fi_connection': {'name': 'sensor.pixel_9_pro_wi_fi_connection'}, 'sensor.pixel_9_pro_wi_fi_frequency': {'name': 'sensor.pixel_9_pro_wi_fi_frequency'}, 'sensor.pixel_9_pro_wi_fi_ip_address': {'name': 'sensor.pixel_9_pro_wi_fi_ip_address'}, 'sensor.pixel_9_pro_wi_fi_link_speed': {'name': 'sensor.pixel_9_pro_wi_fi_link_speed'}, 'sensor.pixel_9_pro_wi_fi_signal_strength': {'name': 'sensor.pixel_9_pro_wi_fi_signal_strength'}, 'sensor.qnapups_battery_chemistry': {'name': 'sensor.qnapups_battery_chemistry'}, 'sensor.qnapups_battery_date': {'name': 'sensor.qnapups_battery_date'}, 'sensor.qnapups_battery_manuf_date': {'name': 'sensor.qnapups_battery_manuf_date'}, 'sensor.qnapups_battery_runtime': {'name': 'sensor.qnapups_battery_runtime'}, 'sensor.qnapups_battery_voltage': {'name': 'sensor.qnapups_battery_voltage'}, 'sensor.qnapups_beeper_status': {'name': 'sensor.qnapups_beeper_status'}, 'sensor.qnapups_high_voltage_transfer': {'name': 'sensor.qnapups_high_voltage_transfer'}, 'sensor.qnapups_input_power_sensitivity': {'name': 'sensor.qnapups_input_power_sensitivity'}, 'sensor.qnapups_load_reboot_timer': {'name': 'sensor.qnapups_load_reboot_timer'}, 'sensor.qnapups_load_shutdown_timer': {'name': 'sensor.qnapups_load_shutdown_timer'}, 'sensor.qnapups_low_battery_runtime': {'name': 'sensor.qnapups_low_battery_runtime'}, 'sensor.qnapups_low_battery_setpoint': {'name': 'sensor.qnapups_low_battery_setpoint'}, 'sensor.qnapups_low_voltage_transfer': {'name': 'sensor.qnapups_low_voltage_transfer'}, 'sensor.qnapups_nominal_battery_voltage': {'name': 'sensor.qnapups_nominal_battery_voltage'}, 'sensor.qnapups_nominal_input_voltage': {'name': 'sensor.qnapups_nominal_input_voltage'}, 'sensor.qnapups_nominal_real_power': {'name': 'sensor.qnapups_nominal_real_power'}, 'sensor.qnapups_self_test_result': {'name': 'sensor.qnapups_self_test_result'}, 'sensor.qnapups_ups_shutdown_delay': {'name': 'sensor.qnapups_ups_shutdown_delay'}, 'sensor.qnapups_voltage_transfer_reason': {'name': 'sensor.qnapups_voltage_transfer_reason'}, 'sensor.qnapups_warning_battery_setpoint': {'name': 'sensor.qnapups_warning_battery_setpoint'}, 'sensor.recompenses_hilo': {'name': 'sensor.recompenses_hilo'}, 'sensor.sensibo_humidity': {'name': 'sensor.sensibo_humidity'}, 'sensor.sun_next_dawn': {'name': 'sensor.sun_next_dawn'}, 'sensor.sun_next_dusk': {'name': 'sensor.sun_next_dusk'}, 'sensor.sun_next_midnight': {'name': 'sensor.sun_next_midnight'}, 'sensor.sun_next_noon': {'name': 'sensor.sun_next_noon'}, 'sensor.sun_next_rising': {'name': 'sensor.sun_next_rising'}, 'sensor.sun_next_setting': {'name': 'sensor.sun_next_setting'}, 'sensor.sun_solar_azimuth': {'name': 'sensor.sun_solar_azimuth'}, 'sensor.sun_solar_elevation': {'name': 'sensor.sun_solar_elevation'}, 'sensor.sun_solar_rising': {'name': 'sensor.sun_solar_rising'}, 'sensor.thermostat_power': {'name': 'sensor.thermostat_power'}, 'sensor.thermostat_power_2': {'name': 'sensor.thermostat_power_2'}, 'sensor.thermostat_power_3': {'name': 'sensor.thermostat_power_3'}, 'sensor.thermostat_power_4': {'name': 'sensor.thermostat_power_4'}, 'sensor.thermostat_target_temperature': {'name': 'sensor.thermostat_target_temperature'}, 'sensor.thermostat_target_temperature_2': {'name': 'sensor.thermostat_target_temperature_2'}, 'sensor.thermostat_target_temperature_3': {'name': 'sensor.thermostat_target_temperature_3'}, 'sensor.thermostat_target_temperature_4': {'name': 'sensor.thermostat_target_temperature_4'}, 'sensor.thermostat_temperature': {'name': 'sensor.thermostat_temperature'}, 'sensor.thermostat_temperature_2': {'name': 'sensor.thermostat_temperature_2'}, 'sensor.thermostat_temperature_3': {'name': 'sensor.thermostat_temperature_3'}, 'sensor.thermostat_temperature_4': {'name': 'sensor.thermostat_temperature_4'}, 'switch.hacs_pre_release': {'name': 'switch.hacs_pre_release'}, 'switch.hilo_pre_release': {'name': 'switch.hilo_pre_release'}, 'switch.kitchen_under_cabinet': {'name': 'switch.kitchen_under_cabinet'}, 'switch.main_bathroom_cove_lights': {'name': 'switch.main_bathroom_cove_lights'}, 'switch.office_ceiling_fan': {'name': 'switch.office_ceiling_fan'}, 'switch.redacted_device_climate_react': {'name': 'switch.redacted_device_climate_react'}, 'switch.redacted_device_timer': {'name': 'switch.redacted_device_timer'}, 'switch.presence_simulation_pre_release': {'name': 'switch.presence_simulation_pre_release'}, 'switch.unassigned_smart_away': {'name': 'switch.unassigned_smart_away'}, 'todo.shopping_list': {'name': 'todo.shopping_list'}, 'tts.google_translate_en_com': {'name': 'tts.google_translate_en_com'}, 'update.hacs_update': {'name': 'update.hacs_update'}, 'update.hilo_update': {'name': 'update.hilo_update'}, 'update.redacted_device_firmware': {'name': 'update.redacted_device_firmware'}, 'update.presence_simulation_update': {'name': 'update.presence_simulation_update'}, 'weather.forecast_home': {'name': 'weather.forecast_home'}})
2026-08-18 21:18:23.930 DEBUG (MainThread) [custom_components.hilo] Hilo Smart meter name is: ['sensor.meter00_power']
2026-08-18 21:18:24.049 INFO (MainThread) [custom_components.hilo] SignalRHub[0]: connecting
2026-08-18 21:18:24.050 INFO (MainThread) [custom_components.hilo] SignalRHub[1]: connecting
2026-08-18 21:18:24.350 DEBUG (MainThread) [custom_components.hilo] Subscribing to location <LOCATION_ID>
2026-08-18 21:18:24.430 DEBUG (MainThread) [custom_components.hilo] Subscribing to challenge : 0 or 0
2026-08-18 21:18:24.430 DEBUG (MainThread) [custom_components.hilo] API URN is urn:hilo:crm:<REDACTED_URN>
2026-08-18 21:18:24.430 DEBUG (MainThread) [custom_components.hilo] Event list needed is rate d
2026-08-18 21:18:24.430 WARNING (MainThread) [custom_components.hilo] Starting legacy connection to ChallengeHub. Your tarif is rate d, and will also attempt connection. This can be safely ignored. This will be deprecated
2026-08-18 21:18:24.431 DEBUG (MainThread) [custom_components.hilo] Subscribing to challenge list at location <LOCATION_ID>
2026-08-18 21:18:24.431 DEBUG (MainThread) [custom_components.hilo] API URN is urn:hilo:crm:<REDACTED_URN>
2026-08-18 21:18:24.432 DEBUG (MainThread) [custom_components.hilo] Subscribing to event list at location <LOCATION_ID>
2026-08-18 21:18:24.487 DEBUG (MainThread) [custom_components.hilo] HILO_DEBUG: Handling challenge/event SignalR event: SignalREvent(event_type_id=<SignalRMsgType.INVOKE: 1>, target='EventListInitialValuesReceived', arguments=[[]], invocation=None, error=None, timestamp=datetime.datetime(2026, 8, 18, 21, 18, 24, 487207), event_type='INVOKE')
2026-08-18 21:18:24.488 DEBUG (MainThread) [custom_components.hilo] Received SignalR message type: SignalREvent(event_type_id=<SignalRMsgType.INVOKE: 1>, target='EventListInitialValuesReceived', arguments=[[]], invocation=None, error=None, timestamp=datetime.datetime(2026, 8, 18, 21, 18, 24, 487207), event_type='INVOKE')
2026-08-18 21:18:24.488 DEBUG (MainThread) [custom_components.hilo] handle_signalr_message_target EventListInitialValuesReceived
2026-08-18 21:18:24.488 DEBUG (MainThread) [custom_components.hilo] handle_signalr_message_ msg_data SignalREvent(event_type_id=<SignalRMsgType.INVOKE: 1>, target='EventListInitialValuesReceived', arguments=[[]], invocation=None, error=None, timestamp=datetime.datetime(2026, 8, 18, 21, 18, 24, 487207), event_type='INVOKE')
2026-08-18 21:18:24.492 DEBUG (MainThread) [custom_components.hilo] HILO_DEBUG: Handling challenge/event SignalR event: SignalREvent(event_type_id=<SignalRMsgType.INVOKE: 1>, target='ChallengeListInitialValuesReceived', arguments=[[]], invocation=None, error=None, timestamp=datetime.datetime(2026, 8, 18, 21, 18, 24, 492250), event_type='INVOKE')
2026-08-18 21:18:24.492 DEBUG (MainThread) [custom_components.hilo] ChallengeListInitialValuesReceived
2026-08-18 21:18:24.492 DEBUG (MainThread) [custom_components.hilo] Received SignalR message type: SignalREvent(event_type_id=<SignalRMsgType.INVOKE: 1>, target='ChallengeListInitialValuesReceived', arguments=[[]], invocation=None, error=None, timestamp=datetime.datetime(2026, 8, 18, 21, 18, 24, 492250), event_type='INVOKE')
2026-08-18 21:18:24.492 DEBUG (MainThread) [custom_components.hilo] handle_signalr_message_target ChallengeListInitialValuesReceived
2026-08-18 21:18:24.492 DEBUG (MainThread) [custom_components.hilo] handle_signalr_message_ msg_data SignalREvent(event_type_id=<SignalRMsgType.INVOKE: 1>, target='ChallengeListInitialValuesReceived', arguments=[[]], invocation=None, error=None, timestamp=datetime.datetime(2026, 8, 18, 21, 18, 24, 492250), event_type='INVOKE')
2026-08-18 21:18:24.607 DEBUG (MainThread) [custom_components.hilo] Generating custom device [Gateway Hilo Gateway (1)]
2026-08-18 21:18:24.618 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry <REDACTED_EMAIL> for hilo
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 762, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/hilo/__init__.py", line 226, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2611, in async_forward_entry_setups
    await integration.async_get_platforms(platforms)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1188, in async_get_platforms
    import_future.result()
    ~~~~~~~~~~~~~~~~~~~~^^
  [Previous line repeated 1 more time]
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1176, in async_get_platforms
    platforms.update(self._load_platforms(platform_names))
                     ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1101, in _load_platforms
    platform_name: self._load_platform(platform_name)
                   ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1275, in _load_platform
    cache[full_name] = self._import_platform(platform_name)
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1307, in _import_platform
    return importlib.import_module(f"{self.pkg_path}.{platform_name}")
           ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1023, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/config/custom_components/hilo/sensor.py", line 17, in <module>
    from homeassistant.const import (
    ...<12 lines>...
    )
ImportError: cannot import name 'UnitOfRatio' from 'homeassistant.const' (/usr/src/homeassistant/homeassistant/const.py)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions