-
Notifications
You must be signed in to change notification settings - Fork 22
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
Keep getting messages about no longer having a state class etc #706
Comments
Is there likely to be any assistance with this? |
Still having this issue. Could it be something to do with PredBat, which I also have running? |
I'm not sure where all of the attributes have gone. They're definitely properly defined in foxess_modbus. Do you have a template or something which is trying to provide that entity? Can you see "BMS Charge Rate" in the list of entities provided by foxess_modbus? |
This looks like the behaviour of incorrectly configured predbat (it happened to me too). At the moment predbat doesn't properly support setting charge power in kW rather than watts (springfall2008/batpred#1717) Personally, I made two input_number helpers for force charge (watts) and force discharge (watts) then use an automation to sync those values to the ones in this integration (here's a gist with that automation: https://gist.github.com/bfayers/82f5a45155281d187f2758c66872c162) In predbat you then just set the charge_rate and discharge_rate to those input_numbers
This seems to all work fine for me. |
Version of the custom_component
I'm using v1.12.2
Configuration
Not sure how to do this but I've attached the debug logs below.
Describe the bug
Every or multiple times per day if I clear I get a repair listed in Home Assistant saying that an entity no longer has a state class or that the unit has changed. It doesn't appear to be doing anything that breaks the functionality but not sure how I'd know it is. I do use this integration to help charge/discharge my battery at certain times of day so want assurance this bug isn't harming that.
Debug log
home-assistant_foxess_modbus_2024-11-21T11-50-04.216Z.log
home-assistant_foxess_modbus_2024-11-19T16-20-34.679Z.log
The text was updated successfully, but these errors were encountered: