'Get the latest data from EBox and update the state.'

def update(self):

    self.ebox_data.update()
    if (self.type in self.ebox_data.data):
        self._state = round(self.ebox_data.data[self.type], 2)
