Skip to content

Commit

Permalink
fixes #456
Browse files Browse the repository at this point in the history
  • Loading branch information
Ludy87 committed Jan 17, 2025
1 parent e8cf8d1 commit 6cf0df5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions custom_components/xplora_watch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
await move_emojis_directory(hass)
await create_service_yaml_file(hass, entry, watches)

# Create a copy and remove Platform.NOTIFY
PLATFORMS_COPY = [platform for platform in PLATFORMS if platform != Platform.NOTIFY]

await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS_COPY)
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)

hass.async_create_task(
discovery.async_load_platform(
Expand Down
2 changes: 1 addition & 1 deletion custom_components/xplora_watch/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@
"marshmallow-enum",
"security>=1.2"
],
"version": "v2.14.1"
"version": "v2.14.2"
}

0 comments on commit 6cf0df5

Please sign in to comment.