def __init__(self, hass: HomeAssistant, api: str, name: str, polling_interval: int):
    'Initialize the global Omnilogic data updater.'
    self.api = api
    super().__init__(hass=hass, logger=_LOGGER, name=name, update_interval=timedelta(seconds=polling_interval))
Initialize the global Omnilogic data updater.
def __init__(self, hass: HomeAssistant, api: str, name: str, polling_interval: int):
    
    self.api = api
    super().__init__(hass=hass, logger=_LOGGER, name=name, update_interval=timedelta(seconds=polling_interval))