Skip to content

Commit

Permalink
fix for HA 2025.05
Browse files Browse the repository at this point in the history
  • Loading branch information
KoljaWindeler committed Dec 29, 2024
1 parent da35ed5 commit 6aa0c85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions custom_components/isc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ async def async_setup_entry(hass, config_entry):
)
config_entry.add_update_listener(update_listener)
# Add sensor
hass.async_create_background_task(
hass.config_entries.async_forward_entry_setup(config_entry, PLATFORM),
name=DOMAIN
)
await hass.config_entries.async_forward_entry_setup(config_entry, PLATFORM)
return True


Expand All @@ -44,7 +41,4 @@ async def update_listener(hass, entry):
"""Update listener."""
entry.data = entry.options
await hass.config_entries.async_forward_entry_unload(entry, PLATFORM)
hass.async_create_background_task(
hass.config_entries.async_forward_entry_setup(entry, PLATFORM),
name=DOMAIN
)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORM)
2 changes: 1 addition & 1 deletion custom_components/isc/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "ics",
"documentation": "https://github.com/KoljaWindeler/ics/blob/master/README.md",
"config_flow": true,
"version": "20240420.01",
"version": "20241229.01",
"requirements": [
"recurring-ical-events",
"icalendar>=4.0.4",
Expand Down

0 comments on commit 6aa0c85

Please sign in to comment.