def __init__(self, hass: HomeAssistant, domain: str) -> None:
    'Initialize the domain states.'
    self._hass = hass
    self._domain = domain
Initialize the domain states.
def __init__(self, hass: HomeAssistant, domain: str) -> None:
    
    self._hass = hass
    self._domain = domain