@Throttle(MIN_TIME_BETWEEN_UPDATES)
    def update(self):
        import dweepy

        try:
            self.data = dweepy.get_latest_dweet_for(self._device)
        except dweepy.DweepyError:
            _LOGGER.error("Device '%s' could not be found", self._device)
            self.data = None
Load json with comments from a string.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/dweet.py/DweetData.update--crossover with--dataset/ETHPy150Open google/apis-client-generator/src/googleapis/codegen/utilities/json_with_comments.py/Loads