Skip to content

Commit

Permalink
fix for wrong commit #20
Browse files Browse the repository at this point in the history
  • Loading branch information
pwesters committed Dec 24, 2024
1 parent cb53d7a commit c31b182
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions custom_components/watts_vision/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:

hass.data[DOMAIN][API_CLIENT] = client

for platform in PLATFORMS:
hass.async_create_task(
await hass.config_entries.async_forward_entry_setups(entry, platform)
)
await hass.config_entries.async_forward_entry_setups(entry, platform)

async def refresh_devices(event_time):
await hass.async_add_executor_job(client.reloadDevices)
Expand Down
2 changes: 1 addition & 1 deletion custom_components/watts_vision/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/pwesters/watts_vision/issues",
"requirements": [],
"version": "0.4.5"
"version": "0.4.6"
}
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ forced_separate = tests
combine_as_imports = true

[mypy]
python_version = 3.7
python_version = 3.13
ignore_errors = true
follow_imports = silent
ignore_missing_imports = true
Expand Down

0 comments on commit c31b182

Please sign in to comment.