Skip to content

Commit

Permalink
re-load component upon updating configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
myTselection committed Feb 11, 2024
1 parent 06168c1 commit 2a3061f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions custom_components/myenergy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
hass.async_create_task(
hass.config_entries.async_forward_entry_setup(config_entry, Platform.SENSOR)
)
config_entry.async_on_unload(config_entry.add_update_listener(update_listener))
# _LOGGER.info(f"{DOMAIN} register_services")
# register_services(hass, config_entry)
return True
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.0"
"version": "2.4.1"
}

0 comments on commit 2a3061f

Please sign in to comment.