Add empty MIDDLEWARE_CLASSES tuple to settings.py to silence warnings.
Fix exception in models.SensorUpdated when sensor temperature is None.