hassio-ecoflow icon indicating copy to clipboard operation
hassio-ecoflow copied to clipboard

Fix setup entry method for HA 2023.5.0

Open Patrick762 opened this issue 1 year ago • 7 comments

Possible fix for #76

Patrick762 avatar May 04 '23 12:05 Patrick762

@vwt12eh8, can you please merge?

mweber89 avatar Jul 13 '23 09:07 mweber89

Any update on this?

MarkWatt3295 avatar Aug 02 '23 08:08 MarkWatt3295

Confirmed that this PR fixes the issue for me. :shipit:

dnelson avatar Sep 11 '23 20:09 dnelson

Delta Pro was successfully added when applied this PR.

iBobik avatar Oct 14 '23 13:10 iBobik

Any ETA on merging this?

mrdrmmn avatar Oct 25 '23 06:10 mrdrmmn

HA: 2023.11.2

I am apply this PR and successfully connected DeltaPro! Hooray!

Please merge!

Error from log without this changes.

Logger: homeassistant.config_entries
Source: config_entries.py:402
First occurred: 1:05:26 AM (1 occurrences)
Last logged: 1:05:26 AM

Error setting up entry DELTA Pro 030141 for ecoflow
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 402, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ecoflow/__init__.py", line 275, in async_setup_entry
    hass.config_entries.async_setup_platforms(entry, _PLATFORMS)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

bkhrupa avatar Nov 17 '23 23:11 bkhrupa

@vwt12eh8, can you please merge?

Requesting merge

adityaselect avatar Mar 27 '24 03:03 adityaselect