jrfernandes / ontario_energy_board

Home Assistant component that installs a sensor with the current energy rate for Ontario energy companies
MIT License
41 stars 10 forks source link

Error after upgrade to 2023.5.1 #25

Closed petervk closed 1 year ago

petervk commented 1 year ago

I just updated to 2023.5.1 and I'm getting the error below.

This error originated from a custom integration.

Logger: homeassistant.config_entries
Source: custom_components/ontario_energy_board/__init__.py:21
Integration: Ontario Energy Board (documentation, issues)
First occurred: 2:40:48 PM (1 occurrences)
Last logged: 2:40:48 PM

Error setting up entry Alectra Utilities Corporation for ontario_energy_board
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/ontario_energy_board/__init__.py", line 21, in async_setup_entry
    hass.config_entries.async_setup_platforms(entry, PLATFORMS)
AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'
DaftHonk commented 1 year ago

Fixed by #24 and merged. Install release v.0.3.3

jrfernandes commented 1 year ago

What he said 👆