Added duplicate key to sensor history