Skip to content

Init error when adding AC #1

Description

@wayne-love

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/broadlink_ac/init.py", line 26, in async_setup_entry
ac_db_instance = ac_db(
host=(entry.data["host"], 80),
mac=mac_bytes,
)
TypeError: init() should return None, not 'bool'

occured just after

Logger: custom_components.broadlink_ac.ac_db
Source: custom_components/broadlink_ac/ac_db.py:457
integration: Broadlink AC
First occurred: 7:39:51 AM (1 occurrence)
Last logged: 7:39:51 AM

Connection timeout during authentication - device may be unavailable

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions