Make EntityComponent generic (#78473)
This commit is contained in:
parent
fd05d949cc
commit
996bcbdac6
21 changed files with 53 additions and 50 deletions
|
@ -130,7 +130,7 @@ RELOAD_SERVICE_SCHEMA = vol.Schema({})
|
|||
|
||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Set up an input datetime."""
|
||||
component = EntityComponent(_LOGGER, DOMAIN, hass)
|
||||
component = EntityComponent[InputDatetime](_LOGGER, DOMAIN, hass)
|
||||
|
||||
# Process integration platforms right away since
|
||||
# we will create entities before firing EVENT_COMPONENT_LOADED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue