'Get the latest data from Ebox.'

def update(self):

    from pyebox.client import PyEboxError
    try:
        self.client.fetch_data()
    except PyEboxError as exp:
        _LOGGER.error('Error    on    receive    last    EBox    data:    %s', exp)
        return
    self.data = self.client.get_data()
