Skip to content

Commit 628f6a8

Browse files
committed
Fix missing _hass parameters in async_unload_entry() functions
1 parent e6a29fd commit 628f6a8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

custom_components/plugwise_usb/event.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ async def async_add_event(node_event: NodeEvent, mac: str) -> None:
114114
_LOGGER.debug("Adding event(s) for node %s failed, not loaded", mac)
115115

116116
async def async_unload_entry(
117+
_hass: HomeAssistant,
117118
config_entry: PlugwiseUSBConfigEntry,
118119
) -> None:
119120
"""Unload a config entry."""

custom_components/plugwise_usb/number.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ async def async_add_number(node_event: NodeEvent, mac: str) -> None:
144144
_LOGGER.debug("Adding number(s) for node %s failed, not loaded", mac)
145145

146146
async def async_unload_entry(
147+
_hass: HomeAssistant,
147148
config_entry: PlugwiseUSBConfigEntry,
148149
) -> None:
149150
"""Unload a config entry."""

0 commit comments

Comments
 (0)