Skip to content

Commit

Permalink
2.4.3 fix await async_forward_entry_setups
Browse files Browse the repository at this point in the history
  • Loading branch information
myTselection committed Jul 18, 2024
1 parent 22327cc commit e18b503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/myenergy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def async_unload_entry(hass: HomeAssistant, config_entry: ConfigEntry):

async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> bool:
"""Set up component as config entry."""
await hass.config_entries.async_forward_entry_setup(config_entry, Platform.SENSOR)
await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)

config_entry.async_on_unload(config_entry.add_update_listener(update_listener))
# _LOGGER.info(f"{DOMAIN} register_services")
Expand Down
2 changes: 1 addition & 1 deletion custom_components/myenergy/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/myTselection/MyEnergy/issues",
"requirements": ["bs4","requests"],
"version": "2.4.2"
"version": "2.4.3"
}

0 comments on commit e18b503

Please sign in to comment.