8000 Beta 4 Setup Completes, but no devices · Issue #431 · tolwi/hassio-ecoflow-cloud · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Beta 4 Setup Completes, but no devices #431

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

Open
diablo581 opened this issue Mar 4, 2025 · 7 comments · May be fixed by #441
Open

Beta 4 Setup Completes, but no devices #431

diablo581 opened this issue Mar 4, 2025 · 7 comments · May be fixed by #441

Comments

@diablo581
Copy link

Beta 4 seems to have solved the issue of the configuration flow working correctly and allowing me to add my Powerkit, but once it is completed no devices are added to home assistant. I get a device group, but it just says that there is nothing in it.

I checked the HA logs and I don't see any errors connected to the integration. I went ahead and deleted and recreated and it doesn't seem to have changed anything.

When I download diagnostics for the group that it created it has entries for all of the Powerkit stuff and even seems to have values for them them, but it doesn't reflect it in the UI in any way that I can find.

@tolwi
Copy link
Owner
tolwi commented Mar 5, 2025

Even though I don't have a PowerKit device and cannot debug its integration, I could try to fix the problem if you provide your diagnostic data.

@diablo581
Copy link
Author

config_entry-ecoflow.txt

Here you go. It is just odd that it doesn't make an entry under the group.

@paule96
Copy link
Contributor
paule96 commented Mar 6, 2025

@tolwi I will take a look that weekend into it. Maybe I can find the bug 😊
I did write the first integration some months ago. So I guess it's just a bug.

@paule96
Copy link
Contributor
paule96 commented Mar 6, 2025

the problem is that the result of the quota all endpoint for the powerkit doesn't return a dictionary anymore. I will try to see if I can find a solution for that.

@paule96
Copy link
Contributor
paule96 commented Mar 7, 2025

@tolwi I guess the latest cleanups remove some logic for subdevices. still searching

@paule96
Copy link
Contributor
paule96 commented Mar 10, 2025

Okay I guess I found the issue. The issue is that the constraction of subdevices changed alot since I was last time here. And the change expects that all subdevices have their own private serial number. But that is actually not true. For example the wireless module of the powerkit shares the SN with the main device.

In my change it was mitigated by the construct of typed child devices.
The new approach just remembers the SN number of the parent and searches it later in the list of devices. What will result in the case of the PowerKit in the resulution of the wireless module. This module by itself has no device class implemented. So it will be always registered as a diagnostic device

@paule96
Copy link
Contributor
paule96 commented Mar 10, 2025

@tolwi can I revert the changes of the commit 5d7732c?

Mainly the changes that removed the DeviceDataImportFactory? Because this factory made sure that the correct parent instances is choosed

@paule96 paule96 linked a pull request Mar 10, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
0