Comments (5)
Chào các bạn,
Các lỗi liên quan đến 'async_setup_platforms' đã được fix ở version mới nhất v2.2.0.
Hãy cập nhật phiên bản mới nhất để tiếp tục sử dụng Integration.
from nestup_evn.
same with EVN Saigon.
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/nestup_evn/__init__.py", line 12, in async_setup_entry hass.config_entries.async_setup_platforms(entry, ["sensor"]) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
from nestup_evn.
cacs b
Mô tả lỗi / Describe the bug Không setup được (Failed to set up) mặc dù thông tin điền vào chính xác
Logs 2023-05-08 14:28:28.918 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration nestup_evn which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-05-08 14:29:01.467 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry PD11000027XXX for nestup_evn File "/config/custom_components/nestup_evn/init.py", line 12, in async_setup_entry
Log Details (ERROR) This error originated from a custom integration. Logger: homeassistant.config_entries Source: custom_components/nestup_evn/init.py:12 Integration: EVN Data Fetcher (documentation, issues) First occurred: 2:29:01 PM (1 occurrences) Last logged: 2:29:01 PM
Error setting up entry PD11000027XXX for nestup_evn Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/nestup_evn/init.py", line 12, in async_setup_entry hass.config_entries.async_setup_platforms(entry, ["sensor"]) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
Ảnh chụp / Screenshots
Server (thông tin máy chủ đang chạy HA): Home Assistant 2023.5.2 Supervisor 2023.04.1 Frontend 20230503.3 - latest
Integration (thông tin phiên bản Integration đã cài đặt):
- Installation method: HACS
- Version: v2.1.0
Thông tin thêm Thêm những thông tin khác ngoài các thông tin kể trên.
Các bạn download lại bản mới fix 2 ngày trước, rồi add devices lại là đc nhé! mình đã cài thành công
from nestup_evn.
Thử lại không được bạn ạ.
- Xóa hết thư mục nestup_evn
- Khởi động lại HA
- Vào HACS tải lại EVN Fetcher
- Khởi động lại HA
- Setup lại EVN
- Vẫn lỗi như vậy
Log Details (ERROR)
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/nestup_evn/init.py:12
Integration: EVN Data Fetcher (documentation, issues)
First occurred: 7:59:38 AM (1 occurrences)
Last logged: 7:59:38 AM
Error setting up entry PD1100002XXX for nestup_evn
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/nestup_evn/init.py", line 12, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, ["sensor"])
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
from nestup_evn.
Thử lại không được bạn ạ.
- Xóa hết thư mục nestup_evn
- Khởi động lại HA
- Vào HACS tải lại EVN Fetcher
- Khởi động lại HA
- Setup lại EVN
- Vẫn lỗi như vậy
Log Details (ERROR)
This error originated from a custom integration.
Logger: homeassistant.config_entries
Source: custom_components/nestup_evn/init.py:12
Integration: EVN Data Fetcher (documentation, issues)
First occurred: 7:59:38 AM (1 occurrences)
Last logged: 7:59:38 AMError setting up entry PD1100002XXX for nestup_evn Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/nestup_evn/init.py", line 12, in async_setup_entry hass.config_entries.async_setup_platforms(entry, ["sensor"]) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
bạn thử cách cài ko qua HACS đi :D
from nestup_evn.
Related Issues (20)
- [EVN Thuận An] Ngày đầu kì là 24 dùm e đã chỉnh ngày khác lúc Setup HOT 3
- [EVN] AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms' HOT 5
- [EVNNPC] AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms' HOT 3
- [Đề xuất tính năng mới] Energy Dashboard Integration
- [Đề xuất tính năng mới] Hourly polling of EVN server
- [Đề xuất tính năng mới] Lịch cắt điện HOT 1
- EVNSPC - Lỗi kết nối HOT 1
- [Chi nhánh EVN] Lỗi không lấy được dữ liệu EVN Hà Nội HOT 1
- Unavailable HOT 1
- [Chi nhánh EVN] HCM không set được ngày đầu kỳ (ngày cuối cùng của tháng) không cho set ngày 1 (-1) HOT 1
- [EVNHCMC] Unexpected error HOT 2
- [Chi nhánh EVN] CPC Miền Trung lỗi đăng nhập HOT 1
- [Chi nhánh EVN] EVNSPC không fetch data được
- [Chi nhánh EVN] Mô tả chung về lỗi HOT 1
- Thay đổi ngày bắt đầu hóa đơn về đầu tháng HOT 1
- [EVNNPC] không kết nối được máy chủ/Lỗi đăng nhập HOT 3
- [EVN miền nam] sản lượng ngày hôm nay báo hôm qua, hôm qua báo hôm kia, tổng sản lượng sai. HOT 1
- [EVNHCMC] Nhập đúng thông tin login nhưng báo lỗi Unexpected error. Please contact github@trvqhuy. HOT 1
- [EVNHCMC] bị lỗi khi chọn giá trị 1 cho ngày đầu kỳ HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nestup_evn.