Remove HomeAssistantType alias from entity components - Part 2 (#48468)
This commit is contained in:
parent
855b68faa1
commit
c1d5638739
27 changed files with 79 additions and 99 deletions
|
@ -2,13 +2,12 @@
|
|||
|
||||
|
||||
from homeassistant.components.group import GroupIntegrationRegistry
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
|
||||
|
||||
@callback
|
||||
def async_describe_on_off_states(
|
||||
hass: HomeAssistantType, registry: GroupIntegrationRegistry
|
||||
hass: HomeAssistant, registry: GroupIntegrationRegistry
|
||||
) -> None:
|
||||
"""Describe group on off states."""
|
||||
registry.exclude_domain()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue