Skip to content
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

Updated foxess_em integration reports error for Bat SOC #353

Open
ng34828 opened this issue Feb 29, 2024 · 3 comments
Open

Updated foxess_em integration reports error for Bat SOC #353

ng34828 opened this issue Feb 29, 2024 · 3 comments

Comments

@ng34828
Copy link

ng34828 commented Feb 29, 2024

First thanks to Nathan and Dan for updating the foxess_em integration to use the public API

Configured it this morning and I am seeing the following error in the log when I used the Bat - SOC entity from the foxess integration:

2024-02-29 09:06:34.068 ERROR (MainThread) [custom_components.foxess_em.battery.battery_controller] ValueError("invalid literal for int() with base 10: '17.0'")
2024-02-29 09:06:35.986 ERROR (MainThread) [custom_components.foxess_em.battery.battery_controller] ValueError("invalid literal for int() with base 10: '17.0'")

and when I looked the entities provided by foxess_em most were in the Unknown state

Work round was to use a template to create a new Bat SOC entity which was an integer - having configured that into the integration it all seems to be working OK

@siobhanellis
Copy link

siobhanellis commented Mar 19, 2024

@ng34828 what kind of helper did you create?

I have the same issue as you.

@siobhanellis
Copy link

Still have this problem

@siobhanellis
Copy link

If it makes any difference, I'm using the Foxess Cloud integration.

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

No branches or pull requests

2 participants