'Get the latest data from Enviro pHAT.'

@Throttle(MIN_TIME_BETWEEN_UPDATES)
def update(self):

    self.light = self.envirophat.light.light()
    if self.use_leds:
        self.envirophat.leds.on()
    (self.light_red, self.light_green, self.light_blue) = self.envirophat.light.rgb()
    if self.use_leds:
        self.envirophat.leds.off()
    (self.accelerometer_x, self.accelerometer_y, self.accelerometer_z) = self.envirophat.motion.accelerometer()
    (self.magnetometer_x, self.magnetometer_y, self.magnetometer_z) = self.envirophat.motion.magnetometer()
    self.temperature = round(self.envirophat.weather.temperature(), 2)
    self.pressure = round((self.envirophat.weather.pressure() / 100.0), 3)
    (self.voltage_0, self.voltage_1, self.voltage_2, self.voltage_3) = self.envirophat.analog.read_all()
