mirror of
https://github.com/home-assistant/core.git
synced 2025-07-11 07:17:12 +00:00
Use strict typing for ConfigEntry on remove in NUT (#144588)
This commit is contained in:
parent
5fadc56475
commit
1654249dab
@ -187,7 +187,7 @@ async def async_unload_entry(hass: HomeAssistant, entry: NutConfigEntry) -> bool
|
|||||||
|
|
||||||
async def async_remove_config_entry_device(
|
async def async_remove_config_entry_device(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
config_entry: ConfigEntry,
|
config_entry: NutConfigEntry,
|
||||||
device_entry: dr.DeviceEntry,
|
device_entry: dr.DeviceEntry,
|
||||||
) -> bool:
|
) -> bool:
|
||||||
"""Remove NUT config entry from a device."""
|
"""Remove NUT config entry from a device."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user