Skip to content

Начиная с какой-то версии перестала работать интеграция. #79

Description

@nstrochkov

Начиная с какой-то версии перестала работать интеграция.

Error setting up entry RK-M216S (D1:A8:1A:12:8A:60) for skykettle
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 749, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)

Решение:
config/custom_components/skykettle/init.py :
строчку:
hass.config_entries.async_forward_entry_setup(entry, component)
меняем на:
await hass.config_entries.async_forward_entry_setups(entry, [component])

и строчку:
await hass.config_entries.async_forward_entry_setups(entry, [component])
меняем на:
hass.config_entries.async_forward_entry_setups(entry, [component])

Спасибо автору за компонент!

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