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

Home Assistant 2025.1 compatibility #118

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

klevytskyi
Copy link

Well, prettier made a lot of changes but the most significant fixes are:

  1. The initialization way that resolves Detected blocking call to import_module with args ('custom_components.ecoflow.sensor',) inside the event loop by custom integration 'ecoflow' at custom_components/ecoflow/__init__.py.
    Now it's hass.async_create_task(hass.config_entries.async_forward_entry_setups(entry, _PLATFORMS))
  2. Deprecated POWER_WATT, ELECTRIC_POTENTIAL_VOLT, ENERGY_WATT_HOUR, FREQUENCY_HERTZ, TEMP_CELSIUS, ELECTRIC_CURRENT_AMPERE were replaced to corresponding new constants.
  3. Binary sensor error regarding Custom Change binary sensor was resolved by moving it from CONFIG to DIAGNOSTIC EntityCategory. At least as I remember it's a physical button on the device.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

@AUTNeonine AUTNeonine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me
Delta Pro
HA25

@silverki
Copy link

Many thanks

@klevytskyi
Copy link
Author

For those who'd like an alternative hassle-free solution, I'm trying to keep my fork (https://github.com/klevytskyi/hassio-ecoflow) HA error-free and up to date, but don't count on new features. Although someday I can be fancy diving into.

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 this pull request may close these issues.

None yet

4 participants