(self)
Retrieve calibrated temperatue from special endpoint.
Retrieve calibrated temperatue from special endpoint.
Retrieve calibrated temperatue from special endpoint .
def get_sensor_info(self):
        """Retrieve calibrated temperatue from special endpoint."""
        resp = api.request_camera_sensors(
            self.sync.blink, self.network_id, self.camera_id
        )
        try:
            self.temperature_calibrated = resp["temp"]
        except (TypeError, KeyError):
            self.temperature_calibrated = self.temperature
            _LOGGER.warning("Could not retrieve calibrated temperature.")
def get_sensor_info ( self ) : resp = api . request_camera_sensors ( self . sync . blink , self . network_id , self . camera_id ) try : self . temperature_calibrated = resp [ "temp" ] except ( TypeError , KeyError ) : self . temperature_calibrated = self . temperature _LOGGER . warning ( "Could not retrieve calibrated temperature." )