Improve kostal_plenticore generic typing (#84634)

This commit is contained in:
Marc Mueller 2022-12-27 21:23:22 +01:00 committed by GitHub
parent b8f83074ce
commit 1cad55f721
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 30 additions and 18 deletions

View file

@ -87,7 +87,9 @@ async def async_setup_entry(
async_add_entities(entities)
class PlenticoreDataSelect(CoordinatorEntity, SelectEntity):
class PlenticoreDataSelect(
CoordinatorEntity[SelectDataUpdateCoordinator], SelectEntity
):
"""Representation of a Plenticore Select."""
_attr_entity_category = EntityCategory.CONFIG