def update(self):
        self._update_main()
        self._update_light()
        self._update_dimmer()
Get the latest data and update the states.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/mysensors.py/MySensorsLightDimmer.update--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/speedtest.py/SpeedtestSensor.update