Skip to content

not working for me via home assistant. #1

@mihaiaka

Description

@mihaiaka

hi there. nice project/idea. I'm not able to start it tho'
I'm getting the below, would you be able to assist?

Logger: homeassistant.setup
Source: setup.py:404
First occurred: 16:49:08 (1 occurrences)
Last logged: 16:49:08

Error during setup of component wakepsx_on_bt
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 404, in _async_setup_component
result = await task
^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/wakepsx_on_bt/init.py", line 69, in setup
hass.services.async_register(
File "/usr/src/homeassistant/homeassistant/core.py", line 2522, in async_register
self._hass.verify_event_loop_thread("async_register")
File "/usr/src/homeassistant/homeassistant/core.py", line 440, in verify_event_loop_thread
frame.report(
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 162, in report
_report_integration(what, integration_frame, level, error_if_integration)
File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 203, in _report_integration
raise RuntimeError(
RuntimeError: Detected that custom integration 'wakepsx_on_bt' calls async_register from a thread at custom_components/wakepsx_on_bt/init.py, line 69: hass.services.async_register(. Please report it to the author of the 'wakepsx_on_bt' custom integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions