Skip to content

Commit

Permalink
Merge pull request #7 from elad-bar/main
Browse files Browse the repository at this point in the history
Fix issues #4 and #5
  • Loading branch information
rroller authored Aug 23, 2021
2 parents 5df5e79 + 1c27a39 commit 25fe6a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/netgear_wax/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def get_stats(self) -> Dict[str, Stat]:
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
"""Handle removal of an entry."""
coordinator = hass.data[DOMAIN][entry.entry_id]
await coordinator.async_stop()
await coordinator.async_stop({})
unloaded = all(
await asyncio.gather(
*[
Expand Down
1 change: 1 addition & 0 deletions custom_components/netgear_wax/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from homeassistant.components.binary_sensor import BinarySensorEntity
from homeassistant.core import HomeAssistant

from . import NetgearDataUpdateCoordinator
from .const import (
DOMAIN, SAFETY_DEVICE_CLASS,
)
Expand Down

0 comments on commit 25fe6a5

Please sign in to comment.