'Get the latest data from SleepIQ and updates the states.'

def update(self):

    self.sleepiq_data.update()
    self.bed = self.sleepiq_data.beds[self._bed_id]
    self.side = getattr(self.bed, self._side)
