'Initialize the API wrapper class.'

def __init__(self, host, port, username, password, temp_unit):

    from SynologyDSM import SynologyDSM
    self.temp_unit = temp_unit
    try:
        self._api = SynologyDSM(host, port, username, password)
    except:
        _LOGGER.error('Error    setting    up    Synology    DSM')
    self.utilisation = self._api.utilisation
    self.storage = self._api.storage
