This has been bugging me for many days now. I have never succesfully initiated the Amber Electric Integration. I successfully add the API which then presents the NMI’s to select from. I get a success message pop up but the ‘Failed to set up’ message contnues to appear in the Integration tile.
This is the Error log I get…
Logger: homeassistant.config_entries
Source: custom_components/amberelectric/init.py:22
Integration: amberelectric
First occurred: June 6, 2023 at 11:53:49 PM (2 occurrences)
Last logged: June 6, 2023 at 11:56:18 PM
Error setting up entry D for amberelectric
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 387, in async_setup
result = await component.async_setup_entry(hass, self)
File “/config/custom_components/amberelectric/init.py”, line 22, in async_setup_entry
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: ‘ConfigEntries’ object has no attribute ‘async_setup_platforms’
Thank you so much for your assistance in advance…