Fix Tailwind config entry typing in async_unload_entry signature (#133153)

pull/133163/head
Franck Nijhof 2024-12-13 16:55:30 +01:00 committed by GitHub
parent 1fbe880c5f
commit a812b594aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@
from __future__ import annotations
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant
from homeassistant.helpers import device_registry as dr
@ -38,6 +37,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: TailwindConfigEntry) ->
return True
async def async_unload_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
async def async_unload_entry(hass: HomeAssistant, entry: TailwindConfigEntry) -> bool:
"""Unload Tailwind config entry."""
return await hass.config_entries.async_unload_platforms(entry, PLATFORMS)