Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI won't load with broadlink-component #11689

Closed
ScuttleSE opened this issue Jan 16, 2018 · 1 comment
Closed

UI won't load with broadlink-component #11689

ScuttleSE opened this issue Jan 16, 2018 · 1 comment

Comments

@ScuttleSE
Copy link

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version): 0.61

Python release (python3 --version): 2.7.13

Component/platform:

Description of problem: HA won't load if broadlink component is in the config

Expected: Expected HA to start up normally

Problem-relevant configuration.yaml entries and steps to reproduce:

switch:
  - platform: broadlink
    host: ir-livingroom
    mac: 34:ea:34:40:6f:ab
    timeout: 15
    switches:
      tv_60:
        friendly_name: "Livingroom TV"
        command_on: 'JgBQAAABJ5QSEhMTEjcSExMSEhMSExITETgSNxIUETgSNxI4ETgSNxITEhMSExE4EhITExEUEhMROBI3EjgSEhI3EzcSNxI3EgAFKwABJ0sRAA0FAAAAAAAAAAA='
        command_off: 'JgBQAAABJ5QSEhMTEjcSExMSEhMSExITETgSNxIUETgSNxI4ETgSNxITEhMSExE4EhITExEUEhMROBI3EjgSEhI3EzcSNxI3EgAFKwABJ0sRAA0FAAAAAAAAAAA='

Traceback (if applicable):

2018-01-16 08:08:52 ERROR (MainThread) [homeassistant.loader] Unable to find component broadlink
2018-01-16 08:08:52 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
    result = coro.send(None)
  File "/home/hass/homeassistant/lib/python3.5/site-packages/homeassistant/components/websocket_api.py", line 473, in get_services_helper
    descriptions = yield from async_get_all_descriptions(self.hass)
  File "/home/hass/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 153, in async_get_all_descriptions
    yaml_file = domain_yaml_file(domain)
  File "/home/hass/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 137, in domain_yaml_file
    component_path = path.dirname(get_component(domain).__file__)
AttributeError: 'NoneType' object has no attribute '__file__'

Additional info:

Worked with 0.60.1, now I cant get the UI to load at all if I have the broadlink component in the config

@mh-daedalus
Copy link

There is already a fix scheduled for 0.61.1 #11677

@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants