trvqhuy / nestup_evn

A simple yet efficient custom component to fetch data from EVN Vietnam for Home Assistant
https://github.com/trvqhuy/nestup_evn
Apache License 2.0
65 stars 29 forks source link

[EVN] Lỗi "async_setup_platforms this will fail in version 2023.3" #16

Closed khaisilk1910 closed 1 year ago

khaisilk1910 commented 1 year ago

Nhờ bạn fix lỗi bên dưới. Cảm ơn!


Logger: homeassistant.helpers.frame
Source: helpers/frame.py:77
First occurred: February 6, 2023 at 9:09:57 PM (2 occurrences)
Last logged: February 6, 2023 at 9:10:11 PM

Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for nestup_evn using this method at custom_components/nestup_evn/__init__.py, line 12: hass.config_entries.async_setup_platforms(entry, ["sensor"])
Detected integration that called async_setup_platforms instead of awaiting async_forward_entry_setups; this will fail in version 2023.3. Please report issue to the custom integration author for miwifi using this method at custom_components/miwifi/__init__.py, line 100: hass.config_entries.async_setup_platforms(entry, PLATFORMS)
trvqhuy commented 1 year ago

Hi @khaisilk1910, từ phiên bản HA Core 2023.3 sẽ có một số điều chỉnh về API, dẫn đến tình trạng lỗi có thể sẽ xảy ra như thông tin trong phần Log của bạn.

Mình sẽ điều chỉnh lại source code của integration và thông báo ngay sau khi thành công. Xin cảm ơn bạn đã phản ánh thông tin này.