Fix typing

This commit is contained in:
G Johansson 2024-10-21 16:21:07 +00:00
parent cb04224b3f
commit e296e79283

View file

@ -204,7 +204,7 @@ async def async_setup_entry(
async_add_entities: AddEntitiesCallback,
) -> None:
"""Set up the Filter sensor entry."""
name: str | None = entry.options[CONF_NAME]
name: str = entry.options[CONF_NAME]
entity_id: str = entry.options[CONF_ENTITY_ID]
filter_config = {